X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=gnushogi%2Fcommondsp.c;h=17a639abaacfa8e2639a01bd570b742eb318158e;hb=829c253a7cc2d3e1a9ed643485c1b1a92967b5df;hp=14df54cc0c9741896d3bf03e543a38a61c202073;hpb=95369c6cb63d6513f7381dc3cc92c1f34044c607;p=gnushogi.git diff --git a/gnushogi/commondsp.c b/gnushogi/commondsp.c index 14df54c..17a639a 100644 --- a/gnushogi/commondsp.c +++ b/gnushogi/commondsp.c @@ -1093,13 +1093,13 @@ ListGame(void) dbuf[16] = '\0'; dbuf[19] = '\0'; - /* use format "CLp16.Jan01-020304B" when patchlevel is 16, + /* use format "CL.Jan01-020304B" when date is Jan 1 time is 02:03:04 program played white */ - sprintf(fname, "CLp%s.%s%s-%s%s%s%c", - patchlevel, dbuf + 4, dbuf + 8, dbuf + 11, dbuf + 14, + sprintf(fname, "CL.%s%s-%s%s%s%c", + dbuf + 4, dbuf + 8, dbuf + 11, dbuf + 14, dbuf + 17, ColorStr[computer][0]); /* replace space padding with 0 */ @@ -1118,7 +1118,7 @@ ListGame(void) exit(1); } - fprintf(fd, "gnushogi %sp%s game\n", version, patchlevel); + fprintf(fd, "gnushogi %s game\n", PACKAGE_VERSION); fputs(" score depth nodes time ", fd); fputs(" score depth nodes time\n", fd);