ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/src/keyboard.C
(Generate patch)

Comparing rxvt-unicode/src/keyboard.C (file contents):
Revision 1.48 by sf-exg, Sun Nov 27 12:12:33 2011 UTC vs.
Revision 1.49 by sf-exg, Sun Nov 27 12:12:49 2011 UTC

198 198
199 int index = find_keysym (keysym, state); 199 int index = find_keysym (keysym, state);
200 200
201 if (index >= 0) 201 if (index >= 0)
202 { 202 {
203 const keysym_t &key = *keymap [index]; 203 keysym_t *key = keymap [index];
204 204
205 if (key.type != keysym_t::BUILTIN) 205 if (key->type != keysym_t::BUILTIN)
206 { 206 {
207 wchar_t *wc = rxvt_utf8towcs (key.str); 207 wchar_t *wc = rxvt_utf8towcs (key->str);
208 char *str = rxvt_wcstombs (wc); 208 char *str = rxvt_wcstombs (wc);
209 // TODO: do (some) translations, unescaping etc, here (allow \u escape etc.) 209 // TODO: do (some) translations, unescaping etc, here (allow \u escape etc.)
210 free (wc); 210 free (wc);
211 211
212 output_string (term, str); 212 output_string (term, str);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines