richedit: Ensure wrapping is done all the time after inserting an RTF stream.
This commit is contained in:
parent
60234f8fc4
commit
046cfcfd22
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue