X-Git-Url: http://winboard.nl/cgi-bin?p=xboard.git;a=blobdiff_plain;f=args.h;h=85e8765f7e40a66b38275b61d6bfdb5969d31e0c;hp=c67abf1377922bad4d625fee2c5aecd227381d17;hb=fa81f9170982520d00d773733bfac265978f0494;hpb=6487eb595b4ee51f8eab706698333e57c5dc4ff8 diff --git a/args.h b/args.h index c67abf1..85e8765 100644 --- a/args.h +++ b/args.h @@ -1530,11 +1530,10 @@ SaveSettings(char* name) ArgDescriptor *ad; char dir[MSG_SIZ], buf[MSG_SIZ]; int mps = appData.movesPerSession; - TimeMark now; if (!MainWindowUp() && !autoClose) return; - GetTimeMark(&now); saveDate = now.sec; + saveDate = programStartTime.sec; GetCurrentDirectory(MSG_SIZ, dir); if(MySearchPath(installDir, name, buf)) {