Module: wine Branch: master Commit: db74fed6d12fdda5a65f5f6a6a7e7f997b8a4798 URL: http://source.winehq.org/git/wine.git/?a=commit;h=db74fed6d12fdda5a65f5f6a6a... Author: Mikołaj Zalewski <mikolaj(a)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);