aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTiago Cunha <tcunha@gmx.com>2009-10-15 01:35:35 +0000
committerTiago Cunha <tcunha@gmx.com>2009-10-15 01:35:35 +0000
commit7af01a4afbcfeb80814d776afa1d48f7322fa958 (patch)
tree591610dfdff8c4d169db93f096660e21e2cb9c8b
parent9e4a3d50f083458d2b53882c1594de4a1c74b766 (diff)
downloadrtmux-7af01a4afbcfeb80814d776afa1d48f7322fa958.tar.gz
rtmux-7af01a4afbcfeb80814d776afa1d48f7322fa958.tar.bz2
rtmux-7af01a4afbcfeb80814d776afa1d48f7322fa958.zip
Sync OpenBSD patchset 397:
Wrap a couple of long lines.
-rw-r--r--screen-write.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/screen-write.c b/screen-write.c
index ff737de0..5010e4fd 100644
--- a/screen-write.c
+++ b/screen-write.c
@@ -1,4 +1,4 @@
-/* $Id: screen-write.c,v 1.74 2009-10-15 01:31:38 tcunha Exp $ */
+/* $Id: screen-write.c,v 1.75 2009-10-15 01:35:35 tcunha 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 {