riched20: Avoid hardcoding the Unicode string literal lengths.

This commit is contained in:
Francois Gouget 2011-12-16 13:06:45 +01:00 committed by Alexandre Julliard
parent 268d364e1f
commit 8dd66bc927
1 changed files with 1 additions and 1 deletions

View File

@ -927,7 +927,7 @@ static BOOL ME_StreamOutText(ME_TextEditor *editor, ME_OutStream *pStream,
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 */
if (dwFormat & SF_UNICODE)