From f19836550b70b447d6842e8da6cb32d559436c4b Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Fri, 22 Mar 2013 10:41:01 +0000 Subject: [PATCH] Unbreak line wrapping. --- screen-write.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/screen-write.c b/screen-write.c index 34dce95e..348065c6 100644 --- a/screen-write.c +++ b/screen-write.c @@ -1053,7 +1053,7 @@ screen_write_cell(struct screen_write_ctx *ctx, const struct grid_cell *gc) * Move the cursor. If not wrapping, stick at the last character and * replace it. */ - last = !!(s->mode & MODE_WRAP); + last = !(s->mode & MODE_WRAP); if (s->cx <= screen_size_x(s) - last - width) s->cx += width; else