From e564eb2ff0995998e3839ff097cf65d178524390 Mon Sep 17 00:00:00 2001 From: ptt Date: Sat, 10 Jul 2004 19:03:42 +0000 Subject: fix of cursor error git-svn-id: http://opensvn.csie.org/pttbbs/branches/ptt.fpg@2127 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- mbbsd/edit.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/mbbsd/edit.c b/mbbsd/edit.c index 3268bde1..aa08e7c7 100644 --- a/mbbsd/edit.c +++ b/mbbsd/edit.c @@ -2500,7 +2500,11 @@ vedit(char *fpath, int saveheader, int *islocal) } if (curr_window_line == b_lines || (phone_mode && curr_window_line == b_lines - 1)) { - curr_window_line = t_lines - 2; + if(phone_mode) + curr_window_line = t_lines - 3; + else + curr_window_line = t_lines - 2; + if (!top_of_win->next) indigestion(7); else { -- cgit v1.2.3