Massimo Del Fedele : riched20: Fix placement of crlf on font table streamout.
Alexandre Julliard
julliard at winehq.org
Mon Apr 27 08:04:07 CDT 2009
Module: wine
Branch: master
Commit: 6f173277281476b4872127bfaf2f679d8f10ae96
URL: http://source.winehq.org/git/wine.git/?a=commit;h=6f173277281476b4872127bfaf2f679d8f10ae96
Author: Massimo Del Fedele <max at veneto.com>
Date: Sat Apr 25 19:56:11 2009 +0200
riched20: Fix placement of crlf on font table streamout.
---
dlls/riched20/writer.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/riched20/writer.c b/dlls/riched20/writer.c
index b6c3ed6..6cadbd4 100644
--- a/dlls/riched20/writer.c
+++ b/dlls/riched20/writer.c
@@ -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 */
More information about the wine-cvs
mailing list