Commit 3d291dd7 authored by Huw Davies's avatar Huw Davies Committed by Alexandre Julliard

riched20: Write the char format for the end-of-paragraph marker.

parent b60cd683
......@@ -3951,7 +3951,7 @@ static void test_EM_STREAMOUT_empty_para(void)
SendMessageA(hwnd, EM_STREAMOUT, SF_RTF, (LPARAM)&es);
ok((p = strstr(buf, "\\pard")) != NULL, "missing \\pard\n");
todo_wine ok(((p = strstr(p, "\\fs")) && isdigit(p[3])), "missing \\fs\n");
ok(((p = strstr(p, "\\fs")) && isdigit(p[3])), "missing \\fs\n");
DestroyWindow(hwnd);
}
......
......@@ -1074,6 +1074,9 @@ static BOOL ME_StreamOutRTF(ME_TextEditor *editor, ME_OutStream *pStream,
}
nChars--;
} else if (cursor.pRun->member.run.nFlags & MERF_ENDPARA) {
if (!ME_StreamOutRTFCharProps(pStream, &cursor.pRun->member.run.style->fmt))
return FALSE;
if (cursor.pPara->member.para.fmt.dwMask & PFM_TABLE &&
cursor.pPara->member.para.fmt.wEffects & PFE_TABLE &&
!(cursor.pPara->member.para.nFlags & (MEPF_ROWSTART|MEPF_ROWEND|MEPF_CELL)))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment