mirror of
https://github.com/reactos/reactos.git
synced 2025-07-28 09:22:47 +00:00
[RichEd20] Fix structure by adding missing byte, see CORE-8452.
Update version, tell wine. This fixes "Assertion failed: style->cbSize == sizeof(CHARFORMAT2W)".
This commit is contained in:
parent
d6fab4158e
commit
7c75bc627b
1 changed files with 3 additions and 1 deletions
|
@ -27,7 +27,7 @@ extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef _RICHEDIT_VER
|
#ifndef _RICHEDIT_VER
|
||||||
#define _RICHEDIT_VER 0x0210
|
#define _RICHEDIT_VER 0x0300
|
||||||
#endif /* _RICHEDIT_VER */
|
#endif /* _RICHEDIT_VER */
|
||||||
|
|
||||||
#define cchTextLimitDefault 0x7fff
|
#define cchTextLimitDefault 0x7fff
|
||||||
|
@ -298,6 +298,7 @@ typedef struct _charformat2a {
|
||||||
BYTE bUnderlineType;
|
BYTE bUnderlineType;
|
||||||
BYTE bAnimation;
|
BYTE bAnimation;
|
||||||
BYTE bRevAuthor;
|
BYTE bRevAuthor;
|
||||||
|
BYTE bReserved1;
|
||||||
} CHARFORMAT2A;
|
} CHARFORMAT2A;
|
||||||
|
|
||||||
typedef struct _charformat2w {
|
typedef struct _charformat2w {
|
||||||
|
@ -320,6 +321,7 @@ typedef struct _charformat2w {
|
||||||
BYTE bUnderlineType;
|
BYTE bUnderlineType;
|
||||||
BYTE bAnimation;
|
BYTE bAnimation;
|
||||||
BYTE bRevAuthor;
|
BYTE bRevAuthor;
|
||||||
|
BYTE bReserved1;
|
||||||
} CHARFORMAT2W;
|
} CHARFORMAT2W;
|
||||||
|
|
||||||
DECL_WINELIB_TYPE_AW(CHARFORMAT2)
|
DECL_WINELIB_TYPE_AW(CHARFORMAT2)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue