svn commit: r258134 - user/ed/newcons/sys/dev/vt
Aleksandr Rybalko
ray at FreeBSD.org
Thu Nov 14 15:14:28 UTC 2013
Author: ray
Date: Thu Nov 14 15:14:27 2013
New Revision: 258134
URL: http://svnweb.freebsd.org/changeset/base/258134
Log:
wrap long lines.
Sponsored by: The FreeBSD Foundation
Sponsored by: The FreeBSD Foundation
Modified:
user/ed/newcons/sys/dev/vt/vt_buf.c
Modified: user/ed/newcons/sys/dev/vt/vt_buf.c
==============================================================================
--- user/ed/newcons/sys/dev/vt/vt_buf.c Thu Nov 14 14:20:35 2013 (r258133)
+++ user/ed/newcons/sys/dev/vt/vt_buf.c Thu Nov 14 15:14:27 2013 (r258134)
@@ -573,8 +573,10 @@ vtbuf_get_marked_len(struct vt_buf *vb)
term_pos_t s, e;
/* Swap according to window coordinates. */
- if (POS_INDEX(vtbuf_htw(vb, vb->vb_mark_start.tp_row), vb->vb_mark_start.tp_col) >
- POS_INDEX(vtbuf_htw(vb, vb->vb_mark_end.tp_row), vb->vb_mark_end.tp_col)) {
+ if (POS_INDEX(vtbuf_htw(vb, vb->vb_mark_start.tp_row),
+ vb->vb_mark_start.tp_col) >
+ POS_INDEX(vtbuf_htw(vb, vb->vb_mark_end.tp_row),
+ vb->vb_mark_end.tp_col)) {
POS_COPY(e, vb->vb_mark_start);
POS_COPY(s, vb->vb_mark_end);
} else {
@@ -598,8 +600,10 @@ vtbuf_extract_marked(struct vt_buf *vb,
term_pos_t s, e;
/* Swap according to window coordinates. */
- if (POS_INDEX(vtbuf_htw(vb, vb->vb_mark_start.tp_row), vb->vb_mark_start.tp_col) >
- POS_INDEX(vtbuf_htw(vb, vb->vb_mark_end.tp_row), vb->vb_mark_end.tp_col)) {
+ if (POS_INDEX(vtbuf_htw(vb, vb->vb_mark_start.tp_row),
+ vb->vb_mark_start.tp_col) >
+ POS_INDEX(vtbuf_htw(vb, vb->vb_mark_end.tp_row),
+ vb->vb_mark_end.tp_col)) {
POS_COPY(e, vb->vb_mark_start);
POS_COPY(s, vb->vb_mark_end);
} else {
More information about the svn-src-user
mailing list