Dylan Smith : richedit: Don't break when streaming out a table, just continue.

Alexandre Julliard julliard at winehq.org
Mon Jul 19 11:05:33 CDT 2010


Module: wine
Branch: master
Commit: e2f6b1d83d15a069b2f07415f6ff9029dbe9f6ea
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=e2f6b1d83d15a069b2f07415f6ff9029dbe9f6ea

Author: Dylan Smith <dylan.ah.smith at gmail.com>
Date:   Sat Jul 17 15:29:08 2010 -0400

richedit: Don't break when streaming out a table, just continue.

This is a regression caused by commit
54b53b6018da93cf82a4ee60ae5a4d3357cd7cfc which change the code to use
if statements instead of a switch, so the break statement should have
been changed to a continue statement.

---

 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 107fadf..dfc4dd4 100644
--- a/dlls/riched20/writer.c
+++ b/dlls/riched20/writer.c
@@ -838,7 +838,7 @@ static BOOL ME_StreamOutRTF(ME_TextEditor *editor, ME_OutStream *pStream,
     TRACE("flags %xh\n", cursor.pRun->member.run.nFlags);
     /* TODO: emit embedded objects */
     if (cursor.pPara->member.para.nFlags & (MEPF_ROWSTART|MEPF_ROWEND))
-      break;
+      continue;
     if (cursor.pRun->member.run.nFlags & MERF_GRAPHICS) {
       FIXME("embedded objects are not handled\n");
     } else if (cursor.pRun->member.run.nFlags & MERF_TAB) {




More information about the wine-cvs mailing list