[1/2] richedit: Don't break when streaming out a table, just continue. (resend)

Dylan Smith dylan.ah.smith at gmail.com
Sat Jul 17 14:29:08 CDT 2010


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) {
-- 
1.7.0.4




More information about the wine-patches mailing list