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));
 }
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to