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

This commit is contained in:
Mikołaj Zalewski 2008-09-17 21:42:38 +02:00 committed by Alexandre Julliard
parent a4fd5a1f40
commit db74fed6d1
1 changed files with 1 additions and 1 deletions

View File

@ -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);