summaryrefslogtreecommitdiffstats
path: root/mbbsd
diff options
context:
space:
mode:
authorvictor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-09-20 14:55:31 +0800
committervictor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-09-20 14:55:31 +0800
commitbda80d3b48bad35d9d092979f19fdc8b91bb746b (patch)
treebbc1bd8473ab60e571e3b0e4f4ba266940da92b6 /mbbsd
parentaf7e1f6c80b0ead26d57feff363fe7526adcff1b (diff)
downloadpttbbs-bda80d3b48bad35d9d092979f19fdc8b91bb746b.tar
pttbbs-bda80d3b48bad35d9d092979f19fdc8b91bb746b.tar.gz
pttbbs-bda80d3b48bad35d9d092979f19fdc8b91bb746b.tar.bz2
pttbbs-bda80d3b48bad35d9d092979f19fdc8b91bb746b.tar.lz
pttbbs-bda80d3b48bad35d9d092979f19fdc8b91bb746b.tar.xz
pttbbs-bda80d3b48bad35d9d092979f19fdc8b91bb746b.tar.zst
pttbbs-bda80d3b48bad35d9d092979f19fdc8b91bb746b.zip
talk.c : redraw
friend.c: uident should be wall thanks akiecs.bbs@ptt2 git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1189 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd')
-rw-r--r--mbbsd/friend.c2
-rw-r--r--mbbsd/talk.c8
2 files changed, 7 insertions, 3 deletions
diff --git a/mbbsd/friend.c b/mbbsd/friend.c
index 3f97ee71..8205686d 100644
--- a/mbbsd/friend.c
+++ b/mbbsd/friend.c
@@ -399,7 +399,7 @@ friend_edit(int type)
dirty = 1;
} else if (*uident == 'w' && count) {
char wall[60];
- if (!getdata(0, 0, "群體水球:", uident, sizeof(wall), DOECHO))
+ if (!getdata(0, 0, "群體水球:", wall, sizeof(wall), DOECHO))
continue;
if (getdata(0, 0, "確定丟出群體水球? [Y]", line, 4, LCECHO) &&
*line == 'n')
diff --git a/mbbsd/talk.c b/mbbsd/talk.c
index 8e13029e..2d07abcf 100644
--- a/mbbsd/talk.c
+++ b/mbbsd/talk.c
@@ -2265,11 +2265,15 @@ userlist(void)
if (getdata(b_lines - 1, 0, "[銀行轉帳]: ",
genbuf, 7, LCECHO)) {
clrtoeol();
- if ((ch = atoi(genbuf)) <= 0 || ch <= give_tax(ch))
+ if ((ch = atoi(genbuf)) <= 0 || ch <= give_tax(ch)){
+ redrawall = redraw = 1;
break;
+ }
sprintf(genbuf, "確定要給 %s %d Ptt 幣嗎? [N/y]", uentp->userid, ch);
- if (getans(genbuf) != 'y')
+ if (getans(genbuf) != 'y'){
+ redrawall = redraw = 1;
break;
+ }
reload_money();
if (ch > cuser.money) {