From ebfec1c531f32d424bb2aca6e7391ef3bfcbfe20 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Sun, 22 Jan 2023 21:14:53 +0000 Subject: patch 9.0.1234: the code style has to be checked manually Problem: The code style has to be checked manually. Solution: Add basic code style checks in a test. Fix or avoid uncovered problems. --- src/digraph.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/digraph.c') diff --git a/src/digraph.c b/src/digraph.c index 97a72e1d55..ac51d50a79 100644 --- a/src/digraph.c +++ b/src/digraph.c @@ -2093,7 +2093,8 @@ f_digraph_get(typval_T *argvars, typval_T *rettv) if (has_mbyte) buf[(*mb_char2bytes)(code, buf)] = NUL; - else { + else + { buf[0] = code; buf[1] = NUL; } -- cgit v1.2.3