summaryrefslogtreecommitdiffstats
path: root/mbbsd/cal.c
diff options
context:
space:
mode:
authorlwms <lwms@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-05-02 14:27:40 +0800
committerlwms <lwms@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-05-02 14:27:40 +0800
commit7868546d63593fbf7f0d8bc02623ba5c6c67f381 (patch)
tree96c4c655b55376f0f4802c591a15fbca7a68cd7e /mbbsd/cal.c
parentcc31f6faeba08fbc6769f6d0c6fb21be10f364de (diff)
downloadpttbbs-7868546d63593fbf7f0d8bc02623ba5c6c67f381.tar
pttbbs-7868546d63593fbf7f0d8bc02623ba5c6c67f381.tar.gz
pttbbs-7868546d63593fbf7f0d8bc02623ba5c6c67f381.tar.bz2
pttbbs-7868546d63593fbf7f0d8bc02623ba5c6c67f381.tar.lz
pttbbs-7868546d63593fbf7f0d8bc02623ba5c6c67f381.tar.xz
pttbbs-7868546d63593fbf7f0d8bc02623ba5c6c67f381.tar.zst
pttbbs-7868546d63593fbf7f0d8bc02623ba5c6c67f381.zip
*** empty log message ***
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@140 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/cal.c')
-rw-r--r--mbbsd/cal.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mbbsd/cal.c b/mbbsd/cal.c
index a5526783..139492e9 100644
--- a/mbbsd/cal.c
+++ b/mbbsd/cal.c
@@ -1,4 +1,4 @@
-/* $Id: cal.c,v 1.3 2002/05/02 06:20:40 lwms Exp $ */
+/* $Id: cal.c,v 1.4 2002/05/02 06:27:40 lwms Exp $ */
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
@@ -398,7 +398,7 @@ int p_give() {
log_file(FN_MONEY, genbuf);
genbuf[0] = 'n';
getdata(3, 0, "要自行書寫紅包袋嗎?[y/N]", genbuf, 2, LCECHO);
- mail_redenvelop(cuser.userid, id, money, genbuf[0]);
+ mail_redenvelop(cuser.userid, id, money - tax, genbuf[0]);
vice(tax, "贈與稅");
}
return 0;