From 041f54dc04c512f7976f084cf76973dc2c1b51ab Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Fri, 20 Apr 2007 04:08:19 +0000 Subject: fixed bug 1650754: the DEL key was deleting a char, then added back a mystery char; the char adding code needs to ignore 127, i.e. DEL svn path=/trunk/; revision=7587 --- packages/patches/special_character_support.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'packages/patches') diff --git a/packages/patches/special_character_support.patch b/packages/patches/special_character_support.patch index b526ee45..dac8daaa 100644 --- a/packages/patches/special_character_support.patch +++ b/packages/patches/special_character_support.patch @@ -12,7 +12,7 @@ diff -u -w -r1.4 g_rtext.c - if (n == '\n' || isprint(n)) +/* at guenter's suggestion, this gets european characters working */ +/* if (n == '\n' || isprint(n)) */ -+ 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); -- cgit v1.2.1