summaryrefslogtreecommitdiffstats
path: root/mbbsd/edit.c
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-09-21 00:55:01 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-09-21 00:55:01 +0800
commit83cfb1da5bfd3558a336a1d92552cd4419f9ecb9 (patch)
treef0c341d7221ae758d633363311b51f8b29cfe3dc /mbbsd/edit.c
parent096104909237e0b4d0e10be45db20c3e57ed2fe4 (diff)
downloadpttbbs-83cfb1da5bfd3558a336a1d92552cd4419f9ecb9.tar
pttbbs-83cfb1da5bfd3558a336a1d92552cd4419f9ecb9.tar.gz
pttbbs-83cfb1da5bfd3558a336a1d92552cd4419f9ecb9.tar.bz2
pttbbs-83cfb1da5bfd3558a336a1d92552cd4419f9ecb9.tar.lz
pttbbs-83cfb1da5bfd3558a336a1d92552cd4419f9ecb9.tar.xz
pttbbs-83cfb1da5bfd3558a336a1d92552cd4419f9ecb9.tar.zst
pttbbs-83cfb1da5bfd3558a336a1d92552cd4419f9ecb9.zip
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
Diffstat (limited to 'mbbsd/edit.c')
-rw-r--r--mbbsd/edit.c2
1 files changed, 2 insertions, 0 deletions
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';
}
}
}