summaryrefslogtreecommitdiffstats
path: root/mbbsd/edit.c
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-07-03 23:29:35 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-07-03 23:29:35 +0800
commit974c4a844dbb4cd4589fee6a025469e30e0582e5 (patch)
treee81afef79999b2d15464d8fcdd69517f0ae96c1e /mbbsd/edit.c
parent153463feb32a59943cfdb031be1a73979edd1029 (diff)
downloadpttbbs-974c4a844dbb4cd4589fee6a025469e30e0582e5.tar
pttbbs-974c4a844dbb4cd4589fee6a025469e30e0582e5.tar.gz
pttbbs-974c4a844dbb4cd4589fee6a025469e30e0582e5.tar.bz2
pttbbs-974c4a844dbb4cd4589fee6a025469e30e0582e5.tar.lz
pttbbs-974c4a844dbb4cd4589fee6a025469e30e0582e5.tar.xz
pttbbs-974c4a844dbb4cd4589fee6a025469e30e0582e5.tar.zst
pttbbs-974c4a844dbb4cd4589fee6a025469e30e0582e5.zip
sig: fixed "if only one sig, max=0 leads to same result as no sigs"
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2884 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/edit.c')
-rw-r--r--mbbsd/edit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mbbsd/edit.c b/mbbsd/edit.c
index 54c515b4..c871ca52 100644
--- a/mbbsd/edit.c
+++ b/mbbsd/edit.c
@@ -1477,7 +1477,7 @@ addsignature(FILE * fp, int ifuseanony)
browse_sigs:
showsignature(fpath, &i, &si);
- if (si.max > 0){
+ if (si.total > 0){
unsigned char msg[64];
ch = isdigit(cuser.signature) ? cuser.signature : 'X';