summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mbbsd/edit.c6
1 files changed, 5 insertions, 1 deletions
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 {