From 546f375a5c8c0fa19d383c3d9822f795c6795e9d Mon Sep 17 00:00:00 2001 From: Tim Mann Date: Mon, 24 Nov 2003 04:48:13 +0000 Subject: [PATCH] Fixed an error I made when cleaning up Daniel's long PV patch. --- backend.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) 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"); } -- 1.7.0.4