diff options
author | Charles Joachim <cacplate@gmail.com> | 2016-05-07 23:55:07 -0400 |
---|---|---|
committer | Charles Joachim <cacplate@gmail.com> | 2016-05-30 12:05:08 -0400 |
commit | c2a18216114bae75b6d6a2c7f1a68db04578abce (patch) | |
tree | 508f17ba674ed9be29975c0b880fbbcbe980cae5 /src/nvim/misc1.c | |
parent | 748898b4dd992c5a5d15a0e1f9f047fc42ba4fd3 (diff) | |
download | rneovim-c2a18216114bae75b6d6a2c7f1a68db04578abce.tar.gz rneovim-c2a18216114bae75b6d6a2c7f1a68db04578abce.tar.bz2 rneovim-c2a18216114bae75b6d6a2c7f1a68db04578abce.zip |
ops.c: enable -Wconversion warning
Diffstat (limited to 'src/nvim/misc1.c')
-rw-r--r-- | src/nvim/misc1.c | 13 |
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) { |