diff options
Diffstat (limited to 'src/testing.c')
-rw-r--r-- | src/testing.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/testing.c b/src/testing.c index 039ee0c9b..b31d192a6 100644 --- a/src/testing.c +++ b/src/testing.c @@ -55,8 +55,10 @@ ga_concat_esc(garray_T *gap, char_u *p, int clen) mch_memmove(buf, p, clen); buf[clen] = NUL; ga_concat(gap, buf); + return; } - else switch (*p) + + switch (*p) { case BS: ga_concat(gap, (char_u *)"\\b"); break; case ESC: ga_concat(gap, (char_u *)"\\e"); break; |