Skip to content
Snippets Groups Projects
Commit 72d75410 authored by Dylan Smith's avatar Dylan Smith Committed by Alexandre Julliard
Browse files

richedit: Removed a redundant condition.

parent 45820046
No related branches found
No related tags found
No related merge requests found
......@@ -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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment