patch 9.1.1363: style: inconsistent indentation in various files
Problem: style: inconsistent indentation in various files
Solution: fix style, updated codestyle test
(Naruhiko Nishino)
closes: #17254
Signed-off-by: Naruhiko Nishino <naru123456789@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
diff --git a/src/evalfunc.c b/src/evalfunc.c
index 3b13cf0..74afd9d 100644
--- a/src/evalfunc.c
+++ b/src/evalfunc.c
@@ -5582,34 +5582,34 @@
f_getcellpixels(typval_T *argvars UNUSED, typval_T *rettv)
{
if (rettv_list_alloc(rettv) == FAIL)
- return;
+ return;
#if defined(FEAT_GUI)
if (gui.in_use)
{
- // success pixel size and no gui.
- list_append_number(rettv->vval.v_list, (varnumber_T)gui.char_width);
- list_append_number(rettv->vval.v_list, (varnumber_T)gui.char_height);
+ // success pixel size and no gui.
+ list_append_number(rettv->vval.v_list, (varnumber_T)gui.char_width);
+ list_append_number(rettv->vval.v_list, (varnumber_T)gui.char_height);
}
else
#endif
{
- struct cellsize cs;
+ struct cellsize cs;
#if defined(UNIX)
- mch_calc_cell_size(&cs);
+ mch_calc_cell_size(&cs);
#else
- // Non-Unix CUIs are not supported, so set this to -1x-1.
- cs.cs_xpixel = -1;
- cs.cs_ypixel = -1;
+ // Non-Unix CUIs are not supported, so set this to -1x-1.
+ cs.cs_xpixel = -1;
+ cs.cs_ypixel = -1;
#endif
- // failed get pixel size.
- if (cs.cs_xpixel == -1)
- return;
+ // failed get pixel size.
+ if (cs.cs_xpixel == -1)
+ return;
- // success pixel size and no gui.
- list_append_number(rettv->vval.v_list, (varnumber_T)cs.cs_xpixel);
- list_append_number(rettv->vval.v_list, (varnumber_T)cs.cs_ypixel);
+ // success pixel size and no gui.
+ list_append_number(rettv->vval.v_list, (varnumber_T)cs.cs_xpixel);
+ list_append_number(rettv->vval.v_list, (varnumber_T)cs.cs_ypixel);
}
}