svn commit: r271466 - head/sys/dev/vt
Aleksandr Rybalko
ray at FreeBSD.org
Fri Sep 12 14:17:10 UTC 2014
Author: ray
Date: Fri Sep 12 14:17:09 2014
New Revision: 271466
URL: http://svnweb.freebsd.org/changeset/base/271466
Log:
Fix stray char on paste.
Tested by: dumbbell and me
MFC after: 1 week
Modified:
head/sys/dev/vt/vt_buf.c
Modified: head/sys/dev/vt/vt_buf.c
==============================================================================
--- head/sys/dev/vt/vt_buf.c Fri Sep 12 14:16:10 2014 (r271465)
+++ head/sys/dev/vt/vt_buf.c Fri Sep 12 14:17:09 2014 (r271466)
@@ -603,7 +603,7 @@ vtbuf_get_marked_len(struct vt_buf *vb)
ei = e.tp_row * vb->vb_scr_size.tp_col + e.tp_col;
/* Number symbols and number of rows to inject \n */
- sz = ei - si + ((e.tp_row - s.tp_row) * 2) + 1;
+ sz = ei - si + ((e.tp_row - s.tp_row) * 2);
return (sz * sizeof(term_char_t));
}
More information about the svn-src-head
mailing list