diff options
author | ptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2004-04-24 20:08:57 +0800 |
---|---|---|
committer | ptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2004-04-24 20:08:57 +0800 |
commit | d5f6cda0c60bbb2dbe4b57eca207b83696178dca (patch) | |
tree | 7005461a53b1a36883107cc622c2780795559887 | |
parent | 5aeba397cdc49d740d90a8a239a0c784c549dd0d (diff) | |
download | pttbbs-d5f6cda0c60bbb2dbe4b57eca207b83696178dca.tar pttbbs-d5f6cda0c60bbb2dbe4b57eca207b83696178dca.tar.gz pttbbs-d5f6cda0c60bbb2dbe4b57eca207b83696178dca.tar.bz2 pttbbs-d5f6cda0c60bbb2dbe4b57eca207b83696178dca.tar.lz pttbbs-d5f6cda0c60bbb2dbe4b57eca207b83696178dca.tar.xz pttbbs-d5f6cda0c60bbb2dbe4b57eca207b83696178dca.tar.zst pttbbs-d5f6cda0c60bbb2dbe4b57eca207b83696178dca.zip |
2 bugs fixed
1. vmsg
2. read
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1846 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r-- | mbbsd/read.c | 3 | ||||
-rw-r--r-- | mbbsd/stuff.c | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/mbbsd/read.c b/mbbsd/read.c index a2a56528..cb0a8467 100644 --- a/mbbsd/read.c +++ b/mbbsd/read.c @@ -906,7 +906,8 @@ i_read(int cmdmode, char *direct, void (*dotitle) (), void (*doentry) (), onekey // 以下這幾種 mode 要再處理游標 default_ch=0; if(mode == READ_PREV || mode == READ_NEXT || mode == RELATE_PREV || - mode == RELATE_FIRST || mode == 'A' || mode == 'a' ) + mode == RELATE_FIRST || mode == 'A' || mode == 'a' || + mode == RELATE_NEXT) { lastmode = mode; last_ln = locmem->crs_ln; diff --git a/mbbsd/stuff.c b/mbbsd/stuff.c index fc2ce69d..cde95cb0 100644 --- a/mbbsd/stuff.c +++ b/mbbsd/stuff.c @@ -444,7 +444,7 @@ vmsg(const char *fmt,...) va_start(ap, fmt); i = vsnprintf(msg+14, 100, fmt, ap); va_end(ap); - for(; i<69; i++) + for(i=i+14; i<69; i++) *(msg+i) = ' '; strcat(msg+69, "\033[33;46m \033[200m\033[1431m\033[506m[請按任意鍵繼續]\033[201m \033[m"); |