diff options
-rw-r--r-- | mbbsd/gomo.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mbbsd/gomo.c b/mbbsd/gomo.c index c7e14923..d1c1bf16 100644 --- a/mbbsd/gomo.c +++ b/mbbsd/gomo.c @@ -467,11 +467,11 @@ static int gomo_loadlog(FILE *fp, ChessInfo *info) /* "[ 1]¡´ ==> H8 [ 2]¡³ ==> H9" */ gomo_step_t step = { CHESS_STEP_NORMAL }; int c, r; - const char *p; + const char *p = buf; int i; for(i=0; i<2; i++) { - p = strchr(buf, '>'); + p = strchr(p, '>'); if (p == NULL) break; |