Dmitry Timoshkov : user32:
Remove redundant SetLastError call from MENU_SetMenu.
Alexandre Julliard
julliard at wine.codeweavers.com
Mon Jun 12 07:10:05 CDT 2006
Module: wine
Branch: refs/heads/master
Commit: 099e23ce4987d625ff07a46494007bb7cd374c55
URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=099e23ce4987d625ff07a46494007bb7cd374c55
Author: Dmitry Timoshkov <dmitry at codeweavers.com>
Date: Mon Jun 12 00:26:49 2006 +0900
user32: Remove redundant SetLastError call from MENU_SetMenu.
---
dlls/user/menu.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/dlls/user/menu.c b/dlls/user/menu.c
index 83e55d9..bc1db93 100644
--- a/dlls/user/menu.c
+++ b/dlls/user/menu.c
@@ -4043,7 +4043,6 @@ BOOL MENU_SetMenu( HWND hWnd, HMENU hMen
if (hMenu && !IsMenu(hMenu))
{
WARN("hMenu %p is not a menu handle\n", hMenu);
- SetLastError(ERROR_INVALID_MENU_HANDLE);
return FALSE;
}
if (!WIN_ALLOWED_MENU(GetWindowLongW( hWnd, GWL_STYLE )))
More information about the wine-cvs
mailing list