aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/eval/executor.c
diff options
context:
space:
mode:
authorLewis Russell <lewis6991@gmail.com>2022-11-07 10:21:44 +0000
committerGitHub <noreply@github.com>2022-11-07 10:21:44 +0000
commitbdb98de2d16ce7185a0f53740e06511904fdd814 (patch)
treed7206b68750c35d0b31113d5d8ec94c2f3ad86eb /src/nvim/eval/executor.c
parente9c1cb71f8a4d6d7818dcb5f71ac78bee431309a (diff)
downloadrneovim-bdb98de2d16ce7185a0f53740e06511904fdd814.tar.gz
rneovim-bdb98de2d16ce7185a0f53740e06511904fdd814.tar.bz2
rneovim-bdb98de2d16ce7185a0f53740e06511904fdd814.zip
refactor: more clint (#20910)
Diffstat (limited to 'src/nvim/eval/executor.c')
-rw-r--r--src/nvim/eval/executor.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/eval/executor.c b/src/nvim/eval/executor.c
index 0e0d0fe696..e253098df5 100644
--- a/src/nvim/eval/executor.c
+++ b/src/nvim/eval/executor.c
@@ -122,8 +122,8 @@ int eexe_mod_op(typval_T *const tv1, const typval_T *const tv2, const char *cons
break;
}
const float_T f = (tv2->v_type == VAR_FLOAT
- ? tv2->vval.v_float
- : (float_T)tv_get_number(tv2));
+ ? tv2->vval.v_float
+ : (float_T)tv_get_number(tv2));
switch (*op) {
case '+':
tv1->vval.v_float += f; break;