richedit: Removed a redundant condition.

This commit is contained in:
Dylan Smith 2008-09-18 09:38:55 -04:00 committed by Alexandre Julliard
parent 45820046e8
commit 72d754108a
1 changed files with 1 additions and 2 deletions

View File

@ -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;
}