diff options
author | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2007-04-20 04:08:19 +0000 |
---|---|---|
committer | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2007-04-20 04:08:19 +0000 |
commit | 041f54dc04c512f7976f084cf76973dc2c1b51ab (patch) | |
tree | b55b083c3f163f0dd6de0f584998ed9c994e6c61 /packages/patches | |
parent | facfb2357dd869c864df78e5cea42b9ea0dc59e8 (diff) |
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
Diffstat (limited to 'packages/patches')
-rw-r--r-- | packages/patches/special_character_support.patch | 2 |
1 files changed, 1 insertions, 1 deletions
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); |