From 4472c56d54f447040f6e8610b261b7efa0d04eb6 Mon Sep 17 00:00:00 2001 From: dundargoc <33953936+dundargoc@users.noreply.github.com> Date: Sat, 30 Oct 2021 02:23:20 +0200 Subject: refactor: uncrustify #16090 --- src/nvim/api/vim.c | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) (limited to 'src/nvim/api/vim.c') diff --git a/src/nvim/api/vim.c b/src/nvim/api/vim.c index 3ca6189ddd..f51b5536e7 100644 --- a/src/nvim/api/vim.c +++ b/src/nvim/api/vim.c @@ -1728,7 +1728,6 @@ static void write_msg(String message, bool to_err) pos = 0; \ continue; \ } \ - \ line_buf[pos++] = message.data[i]; ++no_wait_return; @@ -2182,16 +2181,15 @@ Dictionary nvim_eval_statusline(String str, Dict(eval_statusline) *opts, Error * int p_crb_save = ewp->w_p_crb; ewp->w_p_crb = false; - int width = build_stl_str_hl( - ewp, - (char_u *)buf, - sizeof(buf), - (char_u *)str.data, - false, - (char_u)fillchar, - maxwidth, - hltab_ptr, - NULL); + int width = build_stl_str_hl(ewp, + (char_u *)buf, + sizeof(buf), + (char_u *)str.data, + false, + (char_u)fillchar, + maxwidth, + hltab_ptr, + NULL); PUT(result, "width", INTEGER_OBJ(width)); -- cgit