From 974c4a844dbb4cd4589fee6a025469e30e0582e5 Mon Sep 17 00:00:00 2001 From: piaip Date: Sun, 3 Jul 2005 15:29:35 +0000 Subject: 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 --- mbbsd/edit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mbbsd/edit.c') 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'; -- cgit v1.2.3