richedit: For setting word wrapping, native only uses a null vs non null value.
This commit is contained in:
parent
df7ab004ce
commit
91d57af637
|
@ -3207,12 +3207,7 @@ static LRESULT RichEditWndProc_common(HWND hWnd, UINT msg, WPARAM wParam,
|
||||||
case EM_SETTARGETDEVICE:
|
case EM_SETTARGETDEVICE:
|
||||||
if (wParam == 0)
|
if (wParam == 0)
|
||||||
{
|
{
|
||||||
switch (lParam)
|
editor->bWordWrap = (lParam == 0);
|
||||||
{
|
|
||||||
case 0: editor->bWordWrap = TRUE; break;
|
|
||||||
case 1: editor->bWordWrap = FALSE; break;
|
|
||||||
default: FIXME("Unknown option to EM_SETTARGETDEVICE(NULL,%ld)\n", lParam);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
else FIXME("Unsupported yet non NULL device in EM_SETTARGETDEVICE\n");
|
else FIXME("Unsupported yet non NULL device in EM_SETTARGETDEVICE\n");
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue