From e2f6b1d83d15a069b2f07415f6ff9029dbe9f6ea Mon Sep 17 00:00:00 2001 From: Dylan Smith Date: Sat, 17 Jul 2010 15:29:08 -0400 Subject: [PATCH] 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 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/riched20/writer.c b/dlls/riched20/writer.c index 107fadfc70f..dfc4dd44bc0 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) {