Author: dchapyshev
Date: Sat May 9 13:35:46 2009
New Revision: 40853
URL:
http://svn.reactos.org/svn/reactos?rev=40853&view=rev
Log:
- Sync riched20 with Wine 1.1.21
Modified:
trunk/reactos/dll/win32/riched20/writer.c
Modified: trunk/reactos/dll/win32/riched20/writer.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/riched20/writer.…
==============================================================================
--- trunk/reactos/dll/win32/riched20/writer.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/riched20/writer.c [iso-8859-1] Sat May 9 13:35:46 2009
@@ -295,10 +295,10 @@
}
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 @@
break;
p = ME_FindItemFwd(p, diRunOrParagraphOrEnd);
}
- if (!ME_StreamOutPrint(pStream, "}"))
+ if (!ME_StreamOutMove(pStream, "}\0", 2))
return FALSE;
return TRUE;
}