diff --git a/main/gbx/gbx_subr_string.c b/main/gbx/gbx_subr_string.c index c7536ff49..dc63019be 100644 --- a/main/gbx/gbx_subr_string.c +++ b/main/gbx/gbx_subr_string.c @@ -997,7 +997,9 @@ __SHELL: { c = str[i]; if (c == '\'') - STRING_make_char(c); + { + STRING_make("'\\'", 3); + } STRING_make_char(c); /* if (c == '\n')