From 60e6c6cd3f3a648a1f76f7c18d922dacabbb3b4c Mon Sep 17 00:00:00 2001 From: piaip Date: Mon, 24 Dec 2007 10:38:13 +0000 Subject: - redrawin() changed to 'invalid only' and will take change at next refresh git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3734 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- mbbsd/talk.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'mbbsd/talk.c') diff --git a/mbbsd/talk.c b/mbbsd/talk.c index 72a4cff9..47c0aa60 100644 --- a/mbbsd/talk.c +++ b/mbbsd/talk.c @@ -1161,7 +1161,7 @@ talk_refreshline(talkwin_t *twin) // dirty screen twpic_t *line = twin->big_picture + (twin->curln - twin->sline); int iscomplete = iscompletedbcs(line->data); - int len = strlen(line->data); + int len = strlen((char*)line->data); move(twin->curln, 0); clrtoeol(); @@ -1505,9 +1505,8 @@ do_talk(int fd) if (itswin.big_picture[i].len) fprintf(flog, "%.*s\n", itswin.big_picture[i].len, itswin.big_picture[i].data); - redrawwin(); - fclose(flog); + redrawwin(); more(fpath, NA); getdata(b_lines - 1, 0, "²M°£(C) ²¾¦Ü³Æ§Ñ¿ý(M). (C/M)?[C]", ans, sizeof(ans), LCECHO); -- cgit v1.2.3