diff options
author | raichoo <raichoo@googlemail.com> | 2017-03-11 14:41:34 +0100 |
---|---|---|
committer | raichoo <raichoo@googlemail.com> | 2017-03-19 21:14:11 +0100 |
commit | 2ad25c04663da7d08da94db84dc6ded7df11ea87 (patch) | |
tree | 18db3e71c293d72854c095d723f1ea7f824eaf39 /src/nvim/ops.c | |
parent | 86b1e7f5834d58eebc87735c9a531040fea1a0f7 (diff) | |
download | rneovim-2ad25c04663da7d08da94db84dc6ded7df11ea87.tar.gz rneovim-2ad25c04663da7d08da94db84dc6ded7df11ea87.tar.bz2 rneovim-2ad25c04663da7d08da94db84dc6ded7df11ea87.zip |
linter: make changes pass the linter
Diffstat (limited to 'src/nvim/ops.c')
-rw-r--r-- | src/nvim/ops.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/nvim/ops.c b/src/nvim/ops.c index 3a682b6f96..c13b6f736a 100644 --- a/src/nvim/ops.c +++ b/src/nvim/ops.c @@ -3862,14 +3862,14 @@ fex_format ( if (fex == NULL) { return 0; } - /* - * Evaluate the function. - */ - if (use_sandbox) - ++sandbox; + // Evaluate the function. + if (use_sandbox) { + sandbox++; + } r = (int)eval_to_number(fex); - if (use_sandbox) - --sandbox; + if (use_sandbox) { + sandbox--; + } set_vim_var_string(VV_CHAR, NULL, -1); xfree(fex); |