summaryrefslogtreecommitdiffstats
path: root/mbbsd
diff options
context:
space:
mode:
Diffstat (limited to 'mbbsd')
-rw-r--r--mbbsd/read.c3
-rw-r--r--mbbsd/stuff.c2
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");