Fix two problems with the keymap auto-conversion patch
authorMichael Schutte <michi@uiae.at>
Sat, 25 Apr 2009 14:41:41 +0000 (16:41 +0200)
committerMichael Schutte <michi@uiae.at>
Sun, 26 Apr 2009 09:22:11 +0000 (11:22 +0200)
commit68cbd1ca28598ed399280e15878d75f6040b2726
tree460611c93a76c5331c00ab93617f5af6f39e080b
parent987b9d2b13234672d997674a6f9fa61e95b24015
Fix two problems with the keymap auto-conversion patch

* Correctly resolve plain ASCII characters in codetoksym.  The original
  auto-conversion patch handles keysyms smaller than 0x80 incorrectly if
  prefer_unicode is set.

* Avoid a memory leak in set_charset.

Signed-off-by: Michael Schutte <michi@uiae.at>
src/ksyms.c