[ros-diffs] [dchapyshev] 40853: - Sync riched20 with Wine 1.1.21

dchapyshev at svn.reactos.org dchapyshev at svn.reactos.org
Sat May 9 11:35:46 CEST 2009


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.c?rev=40853&r1=40852&r2=40853&view=diff
==============================================================================
--- 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;
 }



More information about the Ros-diffs mailing list