X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=args.h;h=85e8765f7e40a66b38275b61d6bfdb5969d31e0c;hb=f24d18079fc6b1a9123491bed6b5c3ed82e5b8bd;hp=c67abf1377922bad4d625fee2c5aecd227381d17;hpb=2f0884e0846edf141d42ea2d5e3fcbc6949f50f6;p=xboard.git 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)) {