mirror of
https://github.com/reactos/reactos.git
synced 2024-12-27 09:34:43 +00:00
fixed small bug in NtUserSetMenu()
svn path=/trunk/; revision=5583
This commit is contained in:
parent
1c8bc47bcc
commit
59c7cc4bc9
1 changed files with 3 additions and 2 deletions
|
@ -16,7 +16,7 @@
|
|||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
*/
|
||||
/* $Id: window.c,v 1.93 2003/08/15 10:53:16 rcampbell Exp $
|
||||
/* $Id: window.c,v 1.94 2003/08/15 11:11:02 weiden Exp $
|
||||
*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS kernel
|
||||
|
@ -2551,6 +2551,8 @@ NtUserSetMenu(
|
|||
}
|
||||
|
||||
WindowObject->Menu = hMenu;
|
||||
|
||||
W32kReleaseMenuObject(MenuObject);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -2558,7 +2560,6 @@ NtUserSetMenu(
|
|||
WindowObject->Menu = 0;
|
||||
}
|
||||
|
||||
W32kReleaseMenuObject(MenuObject);
|
||||
W32kReleaseWindowObject(WindowObject);
|
||||
|
||||
/* FIXME (from wine)
|
||||
|
|
Loading…
Reference in a new issue