- Sync riched20 with Wine 1.1.21

svn path=/trunk/; revision=40853
This commit is contained in:
Dmitry Chapyshev 2009-05-09 09:35:46 +00:00
parent 36ff224481
commit a30b07b760

View file

@ -295,10 +295,10 @@ ME_StreamOutRTFFontAndColorTbl(ME_OutStream *pStream, ME_DisplayItem *pFirstRun,
}
if (!ME_StreamOutRTFText(pStream, table[i].szFaceName, -1))
return FALSE;
if (!ME_StreamOutPrint(pStream, ";}\r\n"))
if (!ME_StreamOutPrint(pStream, ";}"))
return FALSE;
}
if (!ME_StreamOutPrint(pStream, "}"))
if (!ME_StreamOutPrint(pStream, "}\r\n"))
return FALSE;
/* Output colors table if not empty */
@ -904,7 +904,7 @@ ME_StreamOutRTF(ME_TextEditor *editor, ME_OutStream *pStream, int nStart, int nC
break;
p = ME_FindItemFwd(p, diRunOrParagraphOrEnd);
}
if (!ME_StreamOutPrint(pStream, "}"))
if (!ME_StreamOutMove(pStream, "}\0", 2))
return FALSE;
return TRUE;
}