diff options
author | Lewis Russell <lewis6991@gmail.com> | 2022-10-12 14:53:40 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-12 14:53:40 +0100 |
commit | 0ef6aaa3a73d5089bf53e804364950c81784574c (patch) | |
tree | b74efe8683f2a6a8257ed31725244d749d229274 /src/nvim/ex_eval.c | |
parent | 024f6880b5e0f7b6d968f4f709f8ca6e7ab567c7 (diff) | |
download | rneovim-0ef6aaa3a73d5089bf53e804364950c81784574c.tar.gz rneovim-0ef6aaa3a73d5089bf53e804364950c81784574c.tar.bz2 rneovim-0ef6aaa3a73d5089bf53e804364950c81784574c.zip |
refactor: clint (#20600)
Diffstat (limited to 'src/nvim/ex_eval.c')
-rw-r--r-- | src/nvim/ex_eval.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/nvim/ex_eval.c b/src/nvim/ex_eval.c index c2648b9bfc..09bd88c947 100644 --- a/src/nvim/ex_eval.c +++ b/src/nvim/ex_eval.c @@ -539,9 +539,7 @@ static void discard_exception(except_T *excp, bool was_finished) if (debug_break_level > 0 || *p_vfile == NUL) { msg_scroll = true; // always scroll up, don't overwrite } - smsg(was_finished ? _("Exception finished: %s") - : _("Exception discarded: %s"), - excp->value); + smsg(was_finished ? _("Exception finished: %s") : _("Exception discarded: %s"), excp->value); msg_puts("\n"); // don't overwrite this either if (debug_break_level > 0 || *p_vfile == NUL) { cmdline_row = msg_row; @@ -1950,7 +1948,7 @@ void rewind_conditionals(cstack_T *cstack, int idx, int cond_type, int *cond_lev { while (cstack->cs_idx > idx) { if (cstack->cs_flags[cstack->cs_idx] & cond_type) { - --*cond_level; + (*cond_level)--; } if (cstack->cs_flags[cstack->cs_idx] & CSF_FOR) { free_for_info(cstack->cs_forinfo[cstack->cs_idx]); |