summaryrefslogtreecommitdiffstats
path: root/mbbsd/gomo.c
diff options
context:
space:
mode:
Diffstat (limited to 'mbbsd/gomo.c')
-rw-r--r--mbbsd/gomo.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/mbbsd/gomo.c b/mbbsd/gomo.c
index af7fb3c8..afdda51d 100644
--- a/mbbsd/gomo.c
+++ b/mbbsd/gomo.c
@@ -194,8 +194,10 @@ HO_log(Horder_t *pool, FILE* fp, char *mate)
i = 0;
do {
- fprintf(fp, "[%2d]%s ==> %c%d%c", i + 1, bw_chess[i % 2],
- 'A' + ptr->x, ptr->y + 1, (i % 2) ? '\n' : '\t');
+ fprintf(fp, "[%2d]%s ==> %c%-5d", i + 1, bw_chess[i % 2],
+ 'A' + ptr->x, ptr->y + 1);
+ if (i % 2)
+ fputc('\n', fp);
i++;
} while (++ptr < v);