Commit 72d75410 authored by Dylan Smith's avatar Dylan Smith Committed by Alexandre Julliard

richedit: Removed a redundant condition.

parent 45820046
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment