aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/nvim/misc1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/misc1.c b/src/nvim/misc1.c
index 8669977ea1..d31bd44493 100644
--- a/src/nvim/misc1.c
+++ b/src/nvim/misc1.c
@@ -737,7 +737,7 @@ open_line (
p_extra = (char_u *)""; /* append empty line */
/* concatenate leader and p_extra, if there is a leader */
- if (lead_len) {
+ if (lead_len > 0) {
if (flags & OPENLINE_COM_LIST && second_line_indent > 0) {
int i;
int padding = second_line_indent