From 13ae5f8e8c6a5034613874a189ce0625f11dc56b Mon Sep 17 00:00:00 2001 From: Lei Zhang Date: Wed, 15 Aug 2007 10:45:07 -0700 Subject: [PATCH] riched20: Add missing scroll bar update. --- dlls/riched20/caret.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dlls/riched20/caret.c b/dlls/riched20/caret.c index f38f70059fb..f5fbf000de7 100644 --- a/dlls/riched20/caret.c +++ b/dlls/riched20/caret.c @@ -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) {