repo: rxvt-unicode-sixel
action: commit
revision: 
path_from: 
revision_from: c59493d8853057dfc727680cc1a02f1074ea3c02:
path_to: 
revision_to: 
git.thebackupbox.net
rxvt-unicode-sixel
git clone git://git.thebackupbox.net/rxvt-unicode-sixel
commit c59493d8853057dfc727680cc1a02f1074ea3c02
Author: Emanuele Giaquinta 
Date:   Sun Nov 27 09:07:48 2011 +0000

    Remove useless switch.

diff --git a/src/keyboard.C b/src/keyboard.C
index 00a5e8cead6b02f16ea25f6bf245febd95cd9019..
index ..d2162629e1e39147ba44711fcdff11ca7ab96292 100644
--- a/src/keyboard.C
+++ b/src/keyboard.C
@@ -227,12 +227,7 @@ keyboard_manager::dispatch (rxvt_term *term, KeySym keysym, unsigned int state)
           // TODO: do (some) translations, unescaping etc, here (allow \u escape etc.)
           free (wc);

-          switch (key.type)
-            {
-              case keysym_t::STRING:
-                output_string (term, str);
-                break;
-            }
+          output_string (term, str);

           free (str);

-----END OF PAGE-----