riched20: Simplify call to ME_StreamOutRTFParaProps().

Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Huw Davies 2016-10-14 10:05:05 +01:00 committed by Alexandre Julliard
parent 452c9a7124
commit ee68e100b4
1 changed files with 1 additions and 4 deletions

View File

@ -1012,7 +1012,7 @@ static BOOL ME_StreamOutRTF(ME_TextEditor *editor, ME_OutStream *pStream,
const ME_Cursor *start, int nChars, int dwFormat)
{
ME_Cursor cursor = *start;
ME_DisplayItem *prev_para = cursor.pPara;
ME_DisplayItem *prev_para = NULL;
ME_Cursor endCur = cursor;
ME_MoveCursorChars(editor, &endCur, nChars, TRUE);
@ -1037,9 +1037,6 @@ static BOOL ME_StreamOutRTF(ME_TextEditor *editor, ME_OutStream *pStream,
/* TODO: section formatting properties */
if (!ME_StreamOutRTFParaProps(editor, pStream, cursor.pPara))
return FALSE;
do {
if (cursor.pPara != prev_para)
{