From: Tim Mann Date: Mon, 24 Nov 2003 04:48:13 +0000 (+0000) Subject: Fixed an error I made when cleaning up Daniel's long PV patch. X-Git-Tag: v4.2.7~8 X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=546f375a5c8c0fa19d383c3d9822f795c6795e9d;p=xboard.git Fixed an error I made when cleaning up Daniel's long PV patch. --- diff --git a/backend.c b/backend.c index e9ae20f..b9e1df5 100644 --- a/backend.c +++ b/backend.c @@ -4361,7 +4361,8 @@ HandleMachineMove(message, cps) } strncpy(programStats.movelist, buf1, sizeof(programStats.movelist)); - buf1[sizeof(programStats.movelist) - 1] = NULLCHAR; + programStats.movelist[sizeof(programStats.movelist) - 1] + = NULLCHAR; } else { sprintf(programStats.movelist, " no PV\n"); }