aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/misc1.c
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2016-06-13 04:33:30 -0400
committerGitHub <noreply@github.com>2016-06-13 04:33:30 -0400
commit28cc5a06462090a0411201b2c44140c37a433a0f (patch)
tree3d198c60f3f2021a5db89faa61c8ea7fa33e70f7 /src/nvim/misc1.c
parent0ea01c15861eb6952b5db45f6a6b6ef507954e5b (diff)
parentc4da27095ccce52f9e2e7e0d80b5c1475c1fd66d (diff)
downloadrneovim-28cc5a06462090a0411201b2c44140c37a433a0f.tar.gz
rneovim-28cc5a06462090a0411201b2c44140c37a433a0f.tar.bz2
rneovim-28cc5a06462090a0411201b2c44140c37a433a0f.zip
Merge #3745 from cacplate/ops_Wconversion
Enable -Wconversion in ops.c
Diffstat (limited to 'src/nvim/misc1.c')
-rw-r--r--src/nvim/misc1.c13
1 files changed, 6 insertions, 7 deletions
diff --git a/src/nvim/misc1.c b/src/nvim/misc1.c
index 48791384a6..d72d8e8513 100644
--- a/src/nvim/misc1.c
+++ b/src/nvim/misc1.c
@@ -178,12 +178,11 @@ open_line (
if (curbuf->b_p_ai
|| do_si
) {
- /*
- * count white space on current line
- */
- newindent = get_indent_str(saved_line, (int)curbuf->b_p_ts, FALSE);
- if (newindent == 0 && !(flags & OPENLINE_COM_LIST))
- newindent = second_line_indent; /* for ^^D command in insert mode */
+ // count white space on current line
+ newindent = get_indent_str(saved_line, (int)curbuf->b_p_ts, false);
+ if (newindent == 0 && !(flags & OPENLINE_COM_LIST)) {
+ newindent = second_line_indent; // for ^^D command in insert mode
+ }
/*
* Do smart indenting.
@@ -612,7 +611,7 @@ open_line (
if (curbuf->b_p_ai
|| do_si
)
- newindent = get_indent_str(leader, (int)curbuf->b_p_ts, FALSE);
+ newindent = get_indent_str(leader, (int)curbuf->b_p_ts, false);
/* Add the indent offset */
if (newindent + off < 0) {