richedit: Ensure wrapping is done all the time after inserting an RTF stream.

This commit is contained in:
Eric Pouech 2008-04-24 22:04:36 +02:00 committed by Alexandre Julliard
parent 60234f8fc4
commit 046cfcfd22
1 changed files with 1 additions and 4 deletions

View File

@ -1140,10 +1140,7 @@ static LRESULT ME_StreamIn(ME_TextEditor *editor, DWORD format, EDITSTREAM *stre
ME_ReleaseStyle(style); ME_ReleaseStyle(style);
editor->nEventMask = nEventMask; editor->nEventMask = nEventMask;
if (editor->bRedraw) ME_UpdateRepaint(editor);
{
ME_UpdateRepaint(editor);
}
if (!(format & SFF_SELECTION)) { if (!(format & SFF_SELECTION)) {
ME_ClearTempStyle(editor); ME_ClearTempStyle(editor);
} }