projects
/
xboard.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
4759117
)
Fixed an error I made when cleaning up Daniel's long PV patch.
author
Tim Mann
<tim@tim-mann.org>
Mon, 24 Nov 2003 04:48:13 +0000 (
04:48
+0000)
committer
Tim Mann
<tim@tim-mann.org>
Mon, 24 Nov 2003 04:48:13 +0000 (
04:48
+0000)
backend.c
patch
|
blob
|
history
diff --git
a/backend.c
b/backend.c
index
e9ae20f
..
b9e1df5
100644
(file)
--- 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");
}