Allow ',' in the watching menu to sort by the previous column.

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@508 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
This commit is contained in:
Pasi Kallinen 2009-10-19 20:45:27 +00:00
parent ae11d81827
commit add9a7fa49
2 changed files with 5 additions and 1 deletions

View File

@ -562,6 +562,10 @@ inprogressmenu (int gameid)
if (sortmode < (NUM_SORTMODES-1)) sortmode++; else sortmode = SORTMODE_NONE;
break;
case ',':
if (sortmode > 0) sortmode--; else sortmode = (NUM_SORTMODES-1);
break;
case 12: case 18: /* ^L, ^R */
clear ();
break;

View File

@ -4,7 +4,7 @@
----------------------
? show this help.
> < next/previous page.
. change sorting method.
. , change sorting method.
q Q return to main menu.
a-zA-Z select a game to watch.
* start showing a randomly selected game.