fixed gcc4 warning

svn path=/trunk/; revision=17989
This commit is contained in:
Thomas Bluemel 2005-09-22 21:09:06 +00:00
parent d776d5b356
commit 6ec323ac74

View file

@ -54,7 +54,7 @@ static BOOL SHELL_NotifyIcon(DWORD dwMessage, void* pnid, HWND nid_hwnd, int nid
data.cbData = len;
data.lpData = pnotify_data;
for(hwnd=0; hwnd=FindWindowExW(0, hwnd, L"Shell_TrayWnd", NULL); )
for(hwnd=0; (hwnd=FindWindowExW(0, hwnd, L"Shell_TrayWnd", NULL)); )
if ((unicode?SendMessageW:SendMessageA)(hwnd, WM_COPYDATA, (WPARAM)nid_hwnd, (LPARAM)&data))
ret = TRUE;