aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/misc1.c
diff options
context:
space:
mode:
authorJan Edmund Lazo <janedmundlazo@hotmail.com>2018-08-06 11:46:46 -0400
committerJan Edmund Lazo <janedmundlazo@hotmail.com>2018-08-06 11:49:59 -0400
commit47d52e1578aa6dd0b55d397d24fc929b95d586f2 (patch)
treed6fe01a8f0cfcdb05d619ab867b8af272d84239f /src/nvim/misc1.c
parentb9ab3636362c67bb49f8cd165006c97ffc9a00da (diff)
downloadrneovim-47d52e1578aa6dd0b55d397d24fc929b95d586f2.tar.gz
rneovim-47d52e1578aa6dd0b55d397d24fc929b95d586f2.tar.bz2
rneovim-47d52e1578aa6dd0b55d397d24fc929b95d586f2.zip
globals: did_ai is bool
Diffstat (limited to 'src/nvim/misc1.c')
-rw-r--r--src/nvim/misc1.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/nvim/misc1.c b/src/nvim/misc1.c
index c1899970e7..3108d0316c 100644
--- a/src/nvim/misc1.c
+++ b/src/nvim/misc1.c
@@ -332,7 +332,7 @@ open_line (
can_si = true;
}
- did_ai = TRUE;
+ did_ai = true;
}
/*
@@ -710,8 +710,9 @@ open_line (
++less_cols_off;
}
}
- if (*p_extra != NUL)
- did_ai = FALSE; /* append some text, don't truncate now */
+ if (*p_extra != NUL) {
+ did_ai = false; // append some text, don't truncate now
+ }
/* columns for marks adjusted for removed columns */
less_cols = (int)(p_extra - saved_line);
@@ -738,7 +739,7 @@ open_line (
}
STRCAT(leader, p_extra);
p_extra = leader;
- did_ai = TRUE; /* So truncating blanks works with comments */
+ did_ai = true; // So truncating blanks works with comments
less_cols -= lead_len;
} else
end_comment_pending = NUL; /* turns out there was no leader */