--- rxvt-unicode/src/keyboard.C 2011/11/30 20:01:41 1.50 +++ rxvt-unicode/src/keyboard.C 2011/12/01 11:27:34 1.51 @@ -112,9 +112,9 @@ void keyboard_manager::register_user_translation (KeySym keysym, unsigned int state, const char *trans) { - wchar_t *wc = rxvt_mbstowcs (trans); - char *translation = rxvt_wcstoutf8 (wc); - free (wc); + wchar_t *ws = rxvt_mbstowcs (trans); + char *translation = rxvt_wcstoutf8 (ws); + free (ws); if (strncmp (translation, "list", 4) == 0 && translation [4] && strlen (translation) < STRING_MAX) @@ -199,10 +199,10 @@ if (key->type != keysym_t::BUILTIN) { - wchar_t *wc = rxvt_utf8towcs (key->str); - char *str = rxvt_wcstombs (wc); + wchar_t *ws = rxvt_utf8towcs (key->str); + char *str = rxvt_wcstombs (ws); // TODO: do (some) translations, unescaping etc, here (allow \u escape etc.) - free (wc); + free (ws); output_string (term, str);