riched20: Avoid hardcoding the Unicode string literal lengths.
This commit is contained in:
parent
268d364e1f
commit
8dd66bc927
|
@ -927,7 +927,7 @@ static BOOL ME_StreamOutText(ME_TextEditor *editor, ME_OutStream *pStream,
|
||||||
|
|
||||||
if (!editor->bEmulateVersion10 && cursor.pRun->member.run.nFlags & MERF_ENDPARA)
|
if (!editor->bEmulateVersion10 && cursor.pRun->member.run.nFlags & MERF_ENDPARA)
|
||||||
{
|
{
|
||||||
static const WCHAR szEOL[2] = { '\r', '\n' };
|
static const WCHAR szEOL[] = { '\r', '\n' };
|
||||||
|
|
||||||
/* richedit 2.0 - all line breaks are \r\n */
|
/* richedit 2.0 - all line breaks are \r\n */
|
||||||
if (dwFormat & SF_UNICODE)
|
if (dwFormat & SF_UNICODE)
|
||||||
|
|
Loading…
Reference in New Issue