-- Leo's gemini proxy
-- Connecting to git.thebackupbox.net:1965...
-- Connected
-- Sending request
-- Meta line: 20 text/gemini
repo: rxvt-unicode-sixel action: commit revision: path_from: revision_from: d9bcc37a11532b33a6eb9f979fc0b68ef684e07d: path_to: revision_to:
commit d9bcc37a11532b33a6eb9f979fc0b68ef684e07d Author: Emanuele Giaquinta <emanuele.giaquinta@gmail.com> Date: Sun Nov 27 12:12:49 2011 +0000 Use a pointer rather than a reference for consistency. diff --git a/src/keyboard.C b/src/keyboard.C
--- a/src/keyboard.C +++ b/src/keyboard.C @@ -200,11 +200,11 @@ keyboard_manager::dispatch (rxvt_term *term, KeySym keysym, unsigned int state) if (index >= 0) { - const keysym_t &key = *keymap [index]; + keysym_t *key = keymap [index]; - if (key.type != keysym_t::BUILTIN) + if (key->type != keysym_t::BUILTIN) { - wchar_t *wc = rxvt_utf8towcs (key.str); + wchar_t *wc = rxvt_utf8towcs (key->str); char *str = rxvt_wcstombs (wc); // TODO: do (some) translations, unescaping etc, here (allow \u escape etc.) free (wc);
-----END OF PAGE-----
-- Response ended
-- Page fetched on Sun Jun 2 13:10:19 2024