mirror of
https://github.com/reactos/wine.git
synced 2024-11-24 20:30:01 +00:00
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)
|
||||
{
|
||||
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)
|
||||
|
Loading…
Reference in New Issue
Block a user