riched20: Add missing scroll bar update.

This commit is contained in:
Lei Zhang 2007-08-15 10:45:07 -07:00 committed by Alexandre Julliard
parent 0d4707c284
commit 13ae5f8e8c
1 changed files with 2 additions and 1 deletions

View File

@ -230,7 +230,8 @@ ME_MoveCaret(ME_TextEditor *editor)
{
int x, y, height;
ME_WrapMarkedParagraphs(editor);
if (ME_WrapMarkedParagraphs(editor))
ME_UpdateScrollBar(editor);
ME_GetCursorCoordinates(editor, &editor->pCursors[0], &x, &y, &height);
if(editor->bHaveFocus)
{