diff --git a/dlls/riched20/editor.c b/dlls/riched20/editor.c index abcc9a84574..01a55c10f7e 100644 --- a/dlls/riched20/editor.c +++ b/dlls/riched20/editor.c @@ -299,7 +299,7 @@ static LRESULT ME_StreamInText(ME_TextEditor *editor, DWORD dwFormat, ME_InStrea stream->dwSize = 0; } while(1); ME_CommitUndo(editor); - ME_Repaint(editor); + ME_UpdateRepaint(editor); return 0; } @@ -605,10 +605,6 @@ static LRESULT ME_StreamIn(ME_TextEditor *editor, DWORD format, EDITSTREAM *stre /* put the cursor at the top */ if (!(format & SFF_SELECTION)) SendMessageA(editor->hWnd, EM_SETSEL, 0, 0); - else - { - /* FIXME where to put cursor now ? */ - } } editor->nUndoMode = nUndoMode;