diff options
-rw-r--r-- | mbbsd/friend.c | 2 | ||||
-rw-r--r-- | 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) { |