Mikołaj Zalewski : shell32: autocomplete: Fix a logical AND to a bitwise AND.

Alexandre Julliard julliard at winehq.org
Thu Sep 18 07:56:05 CDT 2008


Module: wine
Branch: master
Commit: db74fed6d12fdda5a65f5f6a6a7e7f997b8a4798
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=db74fed6d12fdda5a65f5f6a6a7e7f997b8a4798

Author: Mikołaj Zalewski <mikolaj at zalewski.pl>
Date:   Wed Sep 17 21:42:38 2008 +0200

shell32: autocomplete: Fix a logical AND to a bitwise AND.

---

 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 2437793..1871cbb 100644
--- a/dlls/shell32/autocomplete.c
+++ b/dlls/shell32/autocomplete.c
@@ -450,7 +450,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);




More information about the wine-cvs mailing list