riched20: Fix placement of crlf on font table streamout.

This commit is contained in:
Massimo Del Fedele 2009-04-25 19:56:11 +02:00 committed by Alexandre Julliard
parent 7ab6c22f5a
commit 6f17327728

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 */