]> skyeroc.xyz Git - dgamelaunch/commitdiff
Make sortmode keep it's value even if you back out of the watching window.
authorPasi Kallinen <paxed@alt.org>
Sun, 6 Jan 2008 17:40:57 +0000 (17:40 +0000)
committerPasi Kallinen <paxed@alt.org>
Sun, 6 Jan 2008 17:40:57 +0000 (17:40 +0000)
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@404 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

dgamelaunch.c

index 274f13fbc25d4d5b775b030a03f96477b4ec1db9..d29418dd28a0374051ec603a6dca2c9e4455ce9d 100644 (file)
@@ -348,7 +348,7 @@ void
 inprogressmenu (int gameid)
 {
   int i, menuchoice, len = 20, offset = 0, doresizewin = 0;
-  dg_sortmode sortmode = SORTMODE_NONE;
+  static dg_sortmode sortmode = SORTMODE_NONE;
   time_t ctime;
   struct dg_game **games;
   char ttyrecname[130], *replacestr = NULL, gametype[10];