Author: jimtabor
Date: Fri Nov 20 10:49:12 2015
New Revision: 69959
URL:
http://svn.reactos.org/svn/reactos?rev=69959&view=rev
Log:
[Win32SS]
- Patch by Alexandre Julliard : Add workaround for removed SC_TASKLIST system menu item.
Word 95 assumes that the item exists.
- Wine sync port.
Modified:
trunk/reactos/win32ss/user/ntuser/menu.c
Modified: trunk/reactos/win32ss/user/ntuser/menu.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/win32ss/user/ntuser/menu.c…
==============================================================================
--- trunk/reactos/win32ss/user/ntuser/menu.c [iso-8859-1] (original)
+++ trunk/reactos/win32ss/user/ntuser/menu.c [iso-8859-1] Fri Nov 20 10:49:12 2015
@@ -4882,6 +4882,10 @@
if (!(MenuItem = MENU_FindItem( &Menu, &Item, (ByPosition ? MF_BYPOSITION :
MF_BYCOMMAND) )))
{
+ /* workaround for Word 95: pretend that SC_TASKLIST item exists. */
+ if ( SetOrGet && Item == SC_TASKLIST && !ByPosition )
+ return TRUE;
+
EngSetLastError(ERROR_MENU_ITEM_NOT_FOUND);
return( FALSE);
}