Thx Filip, for pointing this out. Added the missing break, if wState did
not get set to CBF_EDIT.
Modified: trunk/reactos/lib/user32/controls/combo.c
_____
Modified: trunk/reactos/lib/user32/controls/combo.c
--- trunk/reactos/lib/user32/controls/combo.c 2006-01-07 18:19:10 UTC
(rev 20663)
+++ trunk/reactos/lib/user32/controls/combo.c 2006-01-07 18:53:26 UTC
(rev 20664)
@@ -2314,9 +2314,10 @@
return (lphc->wState & CBF_EUI) ? TRUE : FALSE;
case CB_GETCOMBOBOXINFO:
return COMBO_GetComboBoxInfo(lphc, (COMBOBOXINFO
*)lParam);
- case CB_LIMITTEXT:
- if( lphc->wState & CBF_EDIT )
- return SendMessageW(lphc->hWndEdit, EM_LIMITTEXT, wParam,
lParam);
+ case CB_LIMITTEXT:
+ if( lphc->wState & CBF_EDIT )
+ return SendMessageW(lphc->hWndEdit, EM_LIMITTEXT,
wParam, lParam);
+ break;
default:
if (message >= WM_USER)
WARN("unknown msg WM_USER+%04x wp=%04x lp=%08lx\n",
Show replies by date