diff options
Diffstat (limited to 'pd/src/g_rtext.c')
-rw-r--r-- | pd/src/g_rtext.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pd/src/g_rtext.c b/pd/src/g_rtext.c index 28becbdb..cbb0ba88 100644 --- a/pd/src/g_rtext.c +++ b/pd/src/g_rtext.c @@ -442,7 +442,7 @@ void rtext_key(t_rtext *x, int keynum, t_symbol *keysym) /* at Guenter's suggestion, use 'n>31' to test wither a character might be printable in whatever 8-bit character set we find ourselves. */ - if (n == '\n' || n > 31) + if (n == '\n' || (n > 31 && n != 127)) { newsize = x->x_bufsize+1; x->x_buf = resizebytes(x->x_buf, x->x_bufsize, newsize); |