From bda80d3b48bad35d9d092979f19fdc8b91bb746b Mon Sep 17 00:00:00 2001 From: victor Date: Sat, 20 Sep 2003 06:55:31 +0000 Subject: 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 --- mbbsd/friend.c | 2 +- mbbsd/talk.c | 8 ++++++-- 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) { -- cgit v1.2.3