Thx Filip, for pointing this out. Added the missing break, if wState did not get...
authorJames Tabor <james.tabor@reactos.org>
Sat, 7 Jan 2006 18:53:26 +0000 (18:53 +0000)
committerJames Tabor <james.tabor@reactos.org>
Sat, 7 Jan 2006 18:53:26 +0000 (18:53 +0000)
svn path=/trunk/; revision=20664

reactos/lib/user32/controls/combo.c

index 8372b6a..cfa6b25 100644 (file)
@@ -2314,9 +2314,10 @@ static LRESULT ComboWndProc_common( HWND hwnd, UINT message,
                return  (lphc->wState & CBF_EUI) ? TRUE : FALSE;
        case CB_GETCOMBOBOXINFO:
                return COMBO_GetComboBoxInfo(lphc, (COMBOBOXINFO *)lParam);
                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",
        default:
                if (message >= WM_USER)
                    WARN("unknown msg WM_USER+%04x wp=%04x lp=%08lx\n",