Commit f2898868 authored by Dylan Smith's avatar Dylan Smith Committed by Alexandre Julliard

richedit: Return FALSE for EM_LINESCROLL with single line control.

parent 5f51221d
......@@ -3375,8 +3375,10 @@ LRESULT ME_HandleMessage(ME_TextEditor *editor, UINT msg, WPARAM wParam,
}
case EM_LINESCROLL:
{
if (!(editor->styleFlags & ES_MULTILINE))
return FALSE;
ME_ScrollDown(editor, lParam * 8); /* FIXME follow the original */
return TRUE; /* Should return false if a single line richedit control */
return TRUE;
}
case WM_CLEAR:
{
......
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