mirror of
https://github.com/reactos/wine.git
synced 2024-11-25 12:49:45 +00:00
richedit: Return FALSE for EM_LINESCROLL with single line control.
This commit is contained in:
parent
5f51221d9c
commit
f28988684e
@ -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:
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user