From 01748f5f397ab8b82bf530dccba948fab97c3b7c Mon Sep 17 00:00:00 2001 From: Emanuele Giaquinta Date: Fri, 23 May 2014 22:25:34 +0000 Subject: [PATCH] Rename variable. --- src/keyboard.C | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/keyboard.C b/src/keyboard.C index 953845f9e..8ac3bb9c9 100644 --- a/src/keyboard.C +++ b/src/keyboard.C @@ -93,18 +93,18 @@ keyboard_manager::~keyboard_manager () void keyboard_manager::register_action (KeySym keysym, unsigned int state, const wchar_t *ws) { - char *translation = rxvt_wcstoutf8 (ws); + char *action = rxvt_wcstoutf8 (ws); keysym_t *key = new keysym_t; key->keysym = keysym; key->state = state; - key->str = translation; + key->str = action; key->type = keysym_t::STRING; - if (strncmp (translation, "builtin:", 8) == 0) + if (strncmp (action, "builtin:", 8) == 0) key->type = keysym_t::BUILTIN; - else if (strncmp (translation, "builtin-string:", 15) == 0) + else if (strncmp (action, "builtin-string:", 15) == 0) key->type = keysym_t::BUILTIN_STRING; if (keymap.size () == keymap.capacity ())