[PATCH] user32: added missing break (Coverity)

Marcus Meissner marcus at jet.franken.de
Fri Mar 18 16:29:20 CDT 2011


Hi,

break was missing here, should always return TRUE according
to MSDN. CID 1637.

Ciao, Marcus
---
 dlls/user32/combo.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/dlls/user32/combo.c b/dlls/user32/combo.c
index 3fc9112..9c22df6 100644
--- a/dlls/user32/combo.c
+++ b/dlls/user32/combo.c
@@ -2192,6 +2192,7 @@ LRESULT ComboWndProc_common( HWND hwnd, UINT message, WPARAM wParam, LPARAM lPar
 	case CB_LIMITTEXT:
 		if( lphc->wState & CBF_EDIT )
 			return SendMessageW(lphc->hWndEdit, EM_LIMITTEXT, wParam, lParam);
+		return  TRUE;
 	default:
 		if (message >= WM_USER)
 		    WARN("unknown msg WM_USER+%04x wp=%04lx lp=%08lx\n",
-- 
1.7.3.4



More information about the wine-patches mailing list