Menu-Cancel will now quit out of the Manifest Menu (Bug #838)

git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2675 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
mcmartin
2007-01-19 05:48:14 +00:00
parent e4a4e0393e
commit d54345bf94
2 changed files with 11 additions and 0 deletions
+1
View File
@@ -1,4 +1,5 @@
Changes towards version 0.7:
- Cancel key will now quit out of the Manifest Menu (Bug #838) - Michael
- Added -w and -x commandline options, to counter -f and -o; used these
to implement "Safe Mode" links in the Win32 installer (Bug #946)
- Michael
+10
View File
@@ -430,6 +430,16 @@ DoMenuChooser (PMENU_STATE pMS, BYTE BaseState)
}
return (FALSE);
}
else if ((optWhichMenu == OPT_PC) && PulsedInputState.menu[KEY_MENU_CANCEL] &&
(BaseState == PM_ALT_CARGO))
{
if (OrigBase == PM_SCAN)
DrawMenuStateStrings (PM_ALT_SCAN, PM_ALT_MANIFEST - PM_ALT_SCAN);
else
DrawMenuStateStrings (PM_ALT_STARMAP, PM_ALT_MANIFEST - PM_ALT_STARMAP);
pMS->CurState = ALT_MANIFEST;
return (TRUE);
}
else
return (FALSE);
DrawMenuStateStrings (BaseState, NewState);