aboutsummaryrefslogtreecommitdiffstats
path: root/FICS/eco.c
diff options
context:
space:
mode:
Diffstat (limited to 'FICS/eco.c')
-rw-r--r--FICS/eco.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/FICS/eco.c b/FICS/eco.c
index 9dda24e..a924232 100644
--- a/FICS/eco.c
+++ b/FICS/eco.c
@@ -170,8 +170,10 @@ ECO_init()
if (feof(fp))
continue;
+ /* XXX */
sscanf(ptmp, "%[\x21-z] %s", FENpos, onMove);
- sprintf(FENpos, "%s %s", FENpos, onMove);
+ strcat(FENpos, " ");
+ strcat(FENpos, onMove);
strcpy(ptmp, "");
fgets(ptmp, 1024, fp);