Fix dumb error from rev. 1.158.

This commit is contained in:
Huw Davies 2004-04-07 19:05:55 +00:00 committed by Alexandre Julliard
parent 43b9f97b22
commit 8e106f2f7b
1 changed files with 1 additions and 1 deletions

View File

@ -6218,7 +6218,7 @@ TOOLBAR_Size (HWND hwnd, WPARAM wParam, LPARAM lParam)
InvalidateRect(hwnd, &btnPtr->rect, TRUE);
}
if((uPosFlags & (SWP_NOSIZE | SWP_NOMOVE)) == (SWP_NOSIZE | SWP_NOMOVE))
if((uPosFlags & (SWP_NOSIZE | SWP_NOMOVE)) != (SWP_NOSIZE | SWP_NOMOVE))
SetWindowPos (hwnd, 0, x, y, cx, cy, uPosFlags | SWP_NOZORDER);
}
GetClientRect(hwnd, &infoPtr->client_rect);