Huw Davies : riched20: Remove a hack that should be longer be needed.
Alexandre Julliard
julliard at winehq.org
Fri Mar 3 14:20:35 CST 2017
Module: wine
Branch: master
Commit: 8b79854d701741c50182bc8af77fb66f57dc5452
URL: http://source.winehq.org/git/wine.git/?a=commit;h=8b79854d701741c50182bc8af77fb66f57dc5452
Author: Huw Davies <huw at codeweavers.com>
Date: Fri Mar 3 10:10:42 2017 +0000
riched20: Remove a hack that should be longer be needed.
Signed-off-by: Huw Davies <huw at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/riched20/writer.c | 8 --------
1 file changed, 8 deletions(-)
diff --git a/dlls/riched20/writer.c b/dlls/riched20/writer.c
index 809b93e..fe768fa 100644
--- a/dlls/riched20/writer.c
+++ b/dlls/riched20/writer.c
@@ -382,14 +382,6 @@ ME_StreamOutRTFFontAndColorTbl(ME_OutStream *pStream, ME_DisplayItem *pFirstRun,
if (!ME_StreamOutPrint(pStream, "}\r\n"))
return FALSE;
- /* It seems like Open Office ignores \deff0 tag at RTF-header.
- As result it can't correctly parse text before first \fN tag,
- so we can put \f0 immediately after font table. This forces
- parser to use the same font, that \deff0 specifies.
- It makes OOffice happy */
- if (!ME_StreamOutPrint(pStream, "\\f0"))
- return FALSE;
-
/* Output the color table */
if (!ME_StreamOutPrint(pStream, "{\\colortbl;")) return FALSE; /* first entry is auto-color */
for (i = 1; i < pStream->nColorTblLen; i++)
More information about the wine-cvs
mailing list