[PATCH] [RichEdit]: added missing fields to be reinitialized for the RTF \pard token
Eric Pouech
eric.pouech at orange.fr
Sat Mar 22 15:36:13 CDT 2008
(Spotted by Valgrind and DanKegel at the wheel)
A+
---
dlls/riched20/editor.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/dlls/riched20/editor.c b/dlls/riched20/editor.c
index 63cdffc..4a810b0 100644
--- a/dlls/riched20/editor.c
+++ b/dlls/riched20/editor.c
@@ -458,9 +458,10 @@ static void ME_RTFParAttrHook(RTF_Info *info)
fmt.wAlignment = PFA_LEFT;
fmt.cTabCount = 0;
fmt.dxOffset = fmt.dxStartIndent = fmt.dxRightIndent = 0;
- fmt.wBorderWidth = fmt.wBorders = 0;
+ fmt.wBorderWidth = fmt.wBorders = 0; fmt.wBorderSpace = 0;
fmt.bLineSpacingRule = 0;
fmt.dySpaceBefore = fmt.dySpaceAfter = 0;
+ fmt.dyLineSpacing = 0;
RTFFlushOutputBuffer(info);
ME_GetParagraph(info->editor->pCursors[0].pRun)->member.para.bTable = FALSE;
break;
More information about the wine-patches
mailing list