[WIN32K]
authorJérôme Gardou <jerome.gardou@reactos.org>
Thu, 7 Aug 2014 11:08:06 +0000 (11:08 +0000)
committerJérôme Gardou <jerome.gardou@reactos.org>
Thu, 7 Aug 2014 11:08:06 +0000 (11:08 +0000)
 - Among a thousand ways to screw a commit, choose dysxelia

svn path=/trunk/; revision=63830

reactos/win32ss/user/ntuser/menu.c

index 0f8c59f..2fed7c1 100644 (file)
@@ -1151,7 +1151,7 @@ IntCleanupMenus(struct _EPROCESS *Process, PPROCESSINFO Win32Process)
       KeAttachProcess(&Process->Pcb);
    }
 
-   while (!IsEmptyList(&Win32Process->MenuListHead))
+   while (!IsListEmpty(&Win32Process->MenuListHead))
    {
       MenuObject = CONTAINING_RECORD(Win32Process->MenuListHead.Flink, MENU, ListEntry);
       TRACE("Menus are stuck on the process list!\n");