summaryrefslogtreecommitdiff
path: root/src/gui.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui.c')
-rw-r--r--src/gui.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gui.c b/src/gui.c
index d7e768f31..2275189ba 100644
--- a/src/gui.c
+++ b/src/gui.c
@@ -2131,8 +2131,7 @@ gui_outstr(char_u *s, int len)
if (this_len > len)
this_len = len; // don't include following composing char
}
- else
- if (gui.col + len > Columns)
+ else if (gui.col + len > Columns)
this_len = Columns - gui.col;
else
this_len = len;