[Win32SS]

- Patch by Alexandre Julliard : Add workaround for removed SC_TASKLIST system menu item. Word 95 assumes that the item exists.
- Wine sync port.

svn path=/trunk/; revision=69959
This commit is contained in:
James Tabor 2015-11-20 10:49:12 +00:00
parent a2eabb07dc
commit 72b5c7bb73

View file

@ -4882,6 +4882,10 @@ UserMenuItemInfo(
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);
}