Make sortmode keep it's value even if you back out of the watching window.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@404 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
This commit is contained in:
parent
d34e23035a
commit
ada1c093b6
|
@ -348,7 +348,7 @@ void
|
||||||
inprogressmenu (int gameid)
|
inprogressmenu (int gameid)
|
||||||
{
|
{
|
||||||
int i, menuchoice, len = 20, offset = 0, doresizewin = 0;
|
int i, menuchoice, len = 20, offset = 0, doresizewin = 0;
|
||||||
dg_sortmode sortmode = SORTMODE_NONE;
|
static dg_sortmode sortmode = SORTMODE_NONE;
|
||||||
time_t ctime;
|
time_t ctime;
|
||||||
struct dg_game **games;
|
struct dg_game **games;
|
||||||
char ttyrecname[130], *replacestr = NULL, gametype[10];
|
char ttyrecname[130], *replacestr = NULL, gametype[10];
|
||||||
|
|
Loading…
Reference in New Issue