From 83cfb1da5bfd3558a336a1d92552cd4419f9ecb9 Mon Sep 17 00:00:00 2001 From: piaip Date: Tue, 20 Sep 2005 16:55:01 +0000 Subject: trial fix for r3192 when user input some non-exist number of sigfile git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3196 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- mbbsd/edit.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mbbsd/edit.c b/mbbsd/edit.c index 45cfe76d..ca8c6882 100644 --- a/mbbsd/edit.c +++ b/mbbsd/edit.c @@ -1538,6 +1538,8 @@ browse_sigs: fputs(buf, fp); fclose(fs); ch = '0'; + } else if (isdigit((int)buf[0])) { + ch = '0'; } } } -- cgit v1.2.3