diff options
author | ptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2004-07-11 03:03:42 +0800 |
---|---|---|
committer | ptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2004-07-11 03:03:42 +0800 |
commit | e564eb2ff0995998e3839ff097cf65d178524390 (patch) | |
tree | 1e07e0ff70ba2d5be2277ea528be2a872aff09c1 | |
parent | fb2a62f3fe337d55d555d56b819ac6c1f16cfb75 (diff) | |
download | pttbbs-e564eb2ff0995998e3839ff097cf65d178524390.tar pttbbs-e564eb2ff0995998e3839ff097cf65d178524390.tar.gz pttbbs-e564eb2ff0995998e3839ff097cf65d178524390.tar.bz2 pttbbs-e564eb2ff0995998e3839ff097cf65d178524390.tar.lz pttbbs-e564eb2ff0995998e3839ff097cf65d178524390.tar.xz pttbbs-e564eb2ff0995998e3839ff097cf65d178524390.tar.zst pttbbs-e564eb2ff0995998e3839ff097cf65d178524390.zip |
fix of cursor errorptt.fpg
git-svn-id: http://opensvn.csie.org/pttbbs/branches/ptt.fpg@2127 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r-- | mbbsd/edit.c | 6 |
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 { |