mirror of
https://github.com/reactos/reactos.git
synced 2024-10-03 16:05:37 +00:00
[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:
parent
a2eabb07dc
commit
72b5c7bb73
|
@ -4882,6 +4882,10 @@ UserMenuItemInfo(
|
||||||
|
|
||||||
if (!(MenuItem = MENU_FindItem( &Menu, &Item, (ByPosition ? MF_BYPOSITION : MF_BYCOMMAND) )))
|
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);
|
EngSetLastError(ERROR_MENU_ITEM_NOT_FOUND);
|
||||||
return( FALSE);
|
return( FALSE);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue