Commit c9786978 authored by Lauri Tulmin's avatar Lauri Tulmin Committed by Alexandre Julliard

Controls with ES_RIGHT or ES_CENTER shouldn't have ES_AUTOHSCROLL.

parent 983a8b58
......@@ -4519,6 +4519,7 @@ static LRESULT EDIT_WM_NCCreate(HWND hwnd, LPCREATESTRUCTW lpcs, BOOL unicode)
if (es->style & ES_RIGHT)
es->style &= ~ES_CENTER;
es->style &= ~WS_HSCROLL;
es->style &= ~ES_AUTOHSCROLL;
}
/* FIXME: for now, all multi line controls are AUTOVSCROLL */
......
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