projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
a2eabb0
)
[Win32SS]
author
James Tabor
<james.tabor@reactos.org>
Fri, 20 Nov 2015 10:49:12 +0000
(10:49 +0000)
committer
James Tabor
<james.tabor@reactos.org>
Fri, 20 Nov 2015 10:49:12 +0000
(10:49 +0000)
- 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
reactos/win32ss/user/ntuser/menu.c
patch
|
blob
|
history
diff --git
a/reactos/win32ss/user/ntuser/menu.c
b/reactos/win32ss/user/ntuser/menu.c
index
046dd07
..
66f9cd8
100644
(file)
--- a/
reactos/win32ss/user/ntuser/menu.c
+++ b/
reactos/win32ss/user/ntuser/menu.c
@@
-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);
}