[PATCH] shell32: autocomplete: fix a logical AND to a bitwise AND

Mikołaj Zalewski mikolaj at zalewski.pl
Wed Sep 17 14:42:38 CDT 2008


---
 dlls/shell32/autocomplete.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/shell32/autocomplete.c b/dlls/shell32/autocomplete.c
index 0f8db4f..4d96a85 100644
--- a/dlls/shell32/autocomplete.c
+++ b/dlls/shell32/autocomplete.c
@@ -449,7 +449,7 @@ static LRESULT APIENTRY ACEditSubclassProc(HWND hwnd, UINT uMsg, WPARAM wParam,
 	    ShowWindow(This->hwndListBox, SW_HIDE);
 	    break;
 	case WM_KILLFOCUS:
-	    if ((This->options && ACO_AUTOSUGGEST) && 
+            if ((This->options & ACO_AUTOSUGGEST) && 
 		((HWND)wParam != This->hwndListBox))
 	    {
 		ShowWindow(This->hwndListBox, SW_HIDE);
-- 
1.5.4


--------------020807040108090305000809--



More information about the wine-patches mailing list