Module: wine Branch: master Commit: 72d754108ac2648d24e0a317720044ce50786bb9 URL: http://source.winehq.org/git/wine.git/?a=commit;h=72d754108ac2648d24e0a31772...
Author: Dylan Smith dylan.ah.smith@gmail.com Date: Thu Sep 18 09:38:55 2008 -0400
richedit: Removed a redundant condition.
---
dlls/riched20/paint.c | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/dlls/riched20/paint.c b/dlls/riched20/paint.c index fb50a89..eba37ef 100644 --- a/dlls/riched20/paint.c +++ b/dlls/riched20/paint.c @@ -1119,9 +1119,8 @@ void ME_Scroll(ME_TextEditor *editor, int value, int type)
si.fMask = SIF_PAGE | SIF_RANGE | SIF_POS; if (GetWindowLongW(hWnd, GWL_STYLE) & ES_DISABLENOSCROLL) - si.fMask |= SIF_DISABLENOSCROLL; - if ((si.fMask & SIF_DISABLENOSCROLL)) { + si.fMask |= SIF_DISABLENOSCROLL; bScrollBarWillBeVisible = TRUE; }