Eric Pouech : richedit: Added missing fields to be reinitialized for the RTF \pard token.
Alexandre Julliard
julliard at winehq.org
Mon Mar 24 07:54:47 CDT 2008
Module: wine
Branch: master
Commit: 2870f21d06d06e1d785a652c66f5222a5d43d8d8
URL: http://source.winehq.org/git/wine.git/?a=commit;h=2870f21d06d06e1d785a652c66f5222a5d43d8d8
Author: Eric Pouech <eric.pouech at orange.fr>
Date: Sat Mar 22 21:36:13 2008 +0100
richedit: Added missing fields to be reinitialized for the RTF \pard token.
---
dlls/riched20/editor.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/dlls/riched20/editor.c b/dlls/riched20/editor.c
index 39980bd..54fd4a3 100644
--- a/dlls/riched20/editor.c
+++ b/dlls/riched20/editor.c
@@ -459,8 +459,10 @@ static void ME_RTFParAttrHook(RTF_Info *info)
fmt.cTabCount = 0;
fmt.dxOffset = fmt.dxStartIndent = fmt.dxRightIndent = 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-cvs
mailing list