Module: wine Branch: master Commit: 13ae5f8e8c6a5034613874a189ce0625f11dc56b URL: http://source.winehq.org/git/wine.git/?a=commit;h=13ae5f8e8c6a5034613874a189...
Author: Lei Zhang thestig@google.com Date: Wed Aug 15 10:45:07 2007 -0700
riched20: Add missing scroll bar update.
---
dlls/riched20/caret.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/dlls/riched20/caret.c b/dlls/riched20/caret.c index f38f700..f5fbf00 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) {