Author: bfreisen Date: Sat Feb 25 11:24:15 2017 New Revision: 73903 URL: http://svn.reactos.org/svn/reactos?rev=73903&view=rev Log: [MSPAINT] - fix error in dynamic menu: most recently used files were showing up in zoom menu, too CORE-12829 #resolve
Modified: trunk/reactos/base/applications/mspaint/winproc.cpp Modified: trunk/reactos/base/applications/mspaint/winproc.cpp URL: http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/mspaint/winproc.cpp?rev=73903&r1=73902&r2=73903&view=diff ============================================================================== --- trunk/reactos/base/applications/mspaint/winproc.cpp [iso-8859-1] (original) +++ trunk/reactos/base/applications/mspaint/winproc.cpp [iso-8859-1] Sat Feb 25 11:24:15 2017 @@ -222,6 +222,8 @@ switch (lParam) { case 0: /* File menu */ + if ((HMENU)wParam != GetSubMenu(menu, 0)) + break; EnableMenuItem(menu, IDM_FILEASWALLPAPERPLANE, ENABLED_IF(isAFile)); EnableMenuItem(menu, IDM_FILEASWALLPAPERCENTERED, ENABLED_IF(isAFile)); EnableMenuItem(menu, IDM_FILEASWALLPAPERSTRETCHED, ENABLED_IF(isAFile));