repo: rxvt-unicode-sixel
action: commit
revision: 
path_from: 
revision_from: 666db5a3c97752504848f5cabb7f4cc77a3937f8:
path_to: 
revision_to: 
git.thebackupbox.net
rxvt-unicode-sixel
git clone git://git.thebackupbox.net/rxvt-unicode-sixel
commit 666db5a3c97752504848f5cabb7f4cc77a3937f8
Author: Emanuele Giaquinta 
Date:   Thu Jan 10 00:44:43 2008 +0000

    Make stock_keymap array conditional on STOCK_KEYMAP.

diff --git a/src/keyboard.h b/src/keyboard.h
index d14efb502d99e69ee5bba28ee5b2ef5e73cfbd40..
index ..5ce7fe31630f44c4273d3c4c85f1569db271c87f 100644
--- a/src/keyboard.h
+++ b/src/keyboard.h
@@ -91,9 +91,11 @@ private:
   uint16_t hash[KEYSYM_HASH_BUDGETS];
   vector keymap;

+#if STOCK_KEYMAP
   // stock keymaps are all static data
   static keysym_t stock_keymap[];
-  // user keymaps and their .string are dynamicaly allocated and freed
+#endif
+  // user keymaps and their .string are dynamically allocated and freed
   vector user_keymap;
   vector user_translations;
 };

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