Date: Fri, 12 Sep 2014 14:17:10 +0000 (UTC) From: Aleksandr Rybalko <ray@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r271466 - head/sys/dev/vt Message-ID: <201409121417.s8CEHAjq065184@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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)); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201409121417.s8CEHAjq065184>