-- 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:

git.thebackupbox.net

rxvt-unicode-sixel

git://git.thebackupbox.net/rxvt-unicode-sixel

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

index aae51c57af672ed4deac9e4dc08def88b4d4e9fc..

index ..433575e1035c86e2de4493bb649692148e6fd753 100644

--- 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