summaryrefslogtreecommitdiffstats
path: root/src/digraph.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2022-05-09 20:09:23 +0100
committerBram Moolenaar <Bram@vim.org>2022-05-09 20:09:23 +0100
commit6ed545e79735f23ff8e650bc2f0967e5a0baedc9 (patch)
tree1c77e4b188c34d68e91c5c93e62c668ce51ffc2f /src/digraph.c
parent921bde88804663a7cb825d7f7e8a5d8ae6b58650 (diff)
patch 8.2.4928: various white space and cosmetic mistakesv8.2.4928
Problem: Various white space and cosmetic mistakes. Solution: Change spaces to tabs, improve comments.
Diffstat (limited to 'src/digraph.c')
-rw-r--r--src/digraph.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/digraph.c b/src/digraph.c
index cfffc192d4..c33fc30251 100644
--- a/src/digraph.c
+++ b/src/digraph.c
@@ -2337,8 +2337,9 @@ f_digraph_getlist(typval_T *argvars, typval_T *rettv)
flag_list_all = FALSE;
else
{
- int error = FALSE;
+ int error = FALSE;
varnumber_T flag = tv_get_number_chk(&argvars[0], &error);
+
if (error)
return;
flag_list_all = flag ? TRUE : FALSE;