From: ayin Date: Thu, 10 Jan 2008 00:44:43 +0000 (+0000) Subject: Make stock_keymap array conditional on STOCK_KEYMAP. X-Git-Url: http://git.openbox.org/?a=commitdiff_plain;h=33c1b6edb70a7d0f6ed95cceac382806196b4085;p=dana%2Furxvt.git Make stock_keymap array conditional on STOCK_KEYMAP. --- diff --git a/src/keyboard.h b/src/keyboard.h index d14efb50..5ce7fe31 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; };