summaryrefslogtreecommitdiffstats
path: root/screen-write.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2009-10-12 16:33:39 +0000
committerNicholas Marriott <nicm@openbsd.org>2009-10-12 16:33:39 +0000
commit56157444dea9539552c2d2f003ee0cc81a1422fc (patch)
treeae1f8e4d3abe33a44e800045233e47f8ff1e64fb /screen-write.c
parent0aab5811ca1d249b5c087241f77fbe21a6a1d31d (diff)
Wrap a couple of long lines.
Diffstat (limited to 'screen-write.c')
-rw-r--r--screen-write.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/screen-write.c b/screen-write.c
index a0c28575..6b6aa400 100644
--- a/screen-write.c
+++ b/screen-write.c
@@ -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 {