summaryrefslogtreecommitdiffstats
path: root/src/digraph.c
diff options
context:
space:
mode:
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 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;
}