Dylan Smith : richedit: Fixed a bug preventing streaming out nested table properties.
Alexandre Julliard
julliard at winehq.org
Wed Oct 1 14:09:34 CDT 2008
Module: wine
Branch: master
Commit: a3ac5ef094ebb572d7b9534fffdf7c86baaac757
URL: http://source.winehq.org/git/wine.git/?a=commit;h=a3ac5ef094ebb572d7b9534fffdf7c86baaac757
Author: Dylan Smith <dylan.ah.smith at gmail.com>
Date: Tue Sep 30 17:11:36 2008 -0400
richedit: Fixed a bug preventing streaming out nested table properties.
---
dlls/riched20/writer.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/riched20/writer.c b/dlls/riched20/writer.c
index 6a03ae0..109ada1 100644
--- a/dlls/riched20/writer.c
+++ b/dlls/riched20/writer.c
@@ -810,7 +810,7 @@ ME_StreamOutRTF(ME_TextEditor *editor, ME_OutStream *pStream, int nStart, int nC
}
} else if (p->member.para.nFlags & MEPF_ROWEND) {
pStream->nNestingLevel--;
- if (pStream->nNestingLevel > 1) {
+ if (pStream->nNestingLevel >= 1) {
if (!ME_StreamOutPrint(pStream, "{\\*\\nesttableprops"))
return FALSE;
if (!ME_StreamOutRTFTableProps(editor, pStream, p))
More information about the wine-cvs
mailing list