Huw Davies : riched20: Remove unnecessary spaces before carriage returns.
Alexandre Julliard
julliard at winehq.org
Fri Oct 14 13:46:55 CDT 2016
Module: wine
Branch: master
Commit: 6e97ddc93039c23f65d4e4f4f7296a54cdcdc21b
URL: http://source.winehq.org/git/wine.git/?a=commit;h=6e97ddc93039c23f65d4e4f4f7296a54cdcdc21b
Author: Huw Davies <huw at codeweavers.com>
Date: Fri Oct 14 10:05:07 2016 +0100
riched20: Remove unnecessary spaces before carriage returns.
Signed-off-by: Huw Davies <huw at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/riched20/writer.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/dlls/riched20/writer.c b/dlls/riched20/writer.c
index 44b9246..baa2886 100644
--- a/dlls/riched20/writer.c
+++ b/dlls/riched20/writer.c
@@ -580,7 +580,7 @@ ME_StreamOutRTFParaProps(ME_TextEditor *editor, ME_OutStream *pStream,
if (!ME_StreamOutPrint(pStream, "\\nestrow}{\\nonesttables\\par}\r\n"))
return FALSE;
} else {
- if (!ME_StreamOutPrint(pStream, "\\row \r\n"))
+ if (!ME_StreamOutPrint(pStream, "\\row\r\n"))
return FALSE;
}
return TRUE;
@@ -1078,7 +1078,7 @@ static BOOL ME_StreamOutRTF(ME_TextEditor *editor, ME_OutStream *pStream,
cursor.pPara->member.para.fmt.wEffects & PFE_TABLE &&
!(cursor.pPara->member.para.nFlags & (MEPF_ROWSTART|MEPF_ROWEND|MEPF_CELL)))
{
- if (!ME_StreamOutPrint(pStream, "\\row \r\n"))
+ if (!ME_StreamOutPrint(pStream, "\\row\r\n"))
return FALSE;
} else {
if (!ME_StreamOutPrint(pStream, "\\par\r\n"))
@@ -1087,7 +1087,7 @@ static BOOL ME_StreamOutRTF(ME_TextEditor *editor, ME_OutStream *pStream,
/* Skip as many characters as required by current line break */
nChars = max(0, nChars - cursor.pRun->member.run.len);
} else if (cursor.pRun->member.run.nFlags & MERF_ENDROW) {
- if (!ME_StreamOutPrint(pStream, "\\line \r\n"))
+ if (!ME_StreamOutPrint(pStream, "\\line\r\n"))
return FALSE;
nChars--;
} else {
More information about the wine-cvs
mailing list