From 4dea62206172c23449bbb34cb201c7a9e3de751c Mon Sep 17 00:00:00 2001 From: Markus Uhlin Date: Sat, 16 Dec 2023 17:14:32 +0100 Subject: Fixed compiler warning --- FICS/eco.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'FICS') diff --git a/FICS/eco.c b/FICS/eco.c index ef35f46..ddb5fd0 100644 --- a/FICS/eco.c +++ b/FICS/eco.c @@ -254,8 +254,10 @@ LONG_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); -- cgit v1.2.3