summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvictor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-02-25 22:39:24 +0800
committervictor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-02-25 22:39:24 +0800
commit58490fa9b998ccd714de75f48a9c1eb5f914995d (patch)
tree4c9796f58879193bad0313f910ed5f949300eb1d
parent6aefaaa618338810243a06d95480a7e4935b4729 (diff)
downloadpttbbs-58490fa9b998ccd714de75f48a9c1eb5f914995d.tar
pttbbs-58490fa9b998ccd714de75f48a9c1eb5f914995d.tar.gz
pttbbs-58490fa9b998ccd714de75f48a9c1eb5f914995d.tar.bz2
pttbbs-58490fa9b998ccd714de75f48a9c1eb5f914995d.tar.lz
pttbbs-58490fa9b998ccd714de75f48a9c1eb5f914995d.tar.xz
pttbbs-58490fa9b998ccd714de75f48a9c1eb5f914995d.tar.zst
pttbbs-58490fa9b998ccd714de75f48a9c1eb5f914995d.zip
fix bug of buffer pasting
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2548 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--mbbsd/edit.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mbbsd/edit.c b/mbbsd/edit.c
index b14b2c3a..fb6148b5 100644
--- a/mbbsd/edit.c
+++ b/mbbsd/edit.c
@@ -2645,6 +2645,7 @@ vedit(char *fpath, int saveheader, int *islocal)
case '8':
case '9':
read_tmpbuf(KEY_ESC_arg - '0');
+ oldcurrline = curr_buf->currline;
curr_buf->redraw_everything = YEA;
break;
case 'l': /* block delete */