summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2009-10-12 16:33:40 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2009-10-12 16:33:40 +0000
commit15ec860014070b2ec0d0c7443fb58d5d989c4355 (patch)
tree0a007d4d9a8011879f1e6fe4af080b27607e5b45
parent8b3ccc682e88c8e3c90f3b09531e588981cd8e67 (diff)
Wrap a couple of long lines.
-rw-r--r--usr.bin/tmux/screen-write.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/usr.bin/tmux/screen-write.c b/usr.bin/tmux/screen-write.c
index af698cf1097..e3a420ff57d 100644
--- a/usr.bin/tmux/screen-write.c
+++ b/usr.bin/tmux/screen-write.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: screen-write.c,v 1.27 2009/10/12 11:08:02 nicm Exp $ */
+/* $OpenBSD: screen-write.c,v 1.28 2009/10/12 16:33:39 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -1035,8 +1035,10 @@ screen_write_cell(
if (screen_check_selection(s, s->cx - width, s->cy)) {
memcpy(&tmp_gc2, &s->sel.cell, sizeof tmp_gc2);
tmp_gc2.data = gc->data;
- tmp_gc2.flags = gc->flags & ~(GRID_FLAG_FG256|GRID_FLAG_BG256);
- tmp_gc2.flags |= s->sel.cell.flags & (GRID_FLAG_FG256|GRID_FLAG_BG256);
+ tmp_gc2.flags = gc->flags &
+ ~(GRID_FLAG_FG256|GRID_FLAG_BG256);
+ tmp_gc2.flags |= s->sel.cell.flags &
+ (GRID_FLAG_FG256|GRID_FLAG_BG256);
ttyctx.cell = &tmp_gc2;
tty_write(tty_cmd_cell, &ttyctx);
} else {