From 33c1b6edb70a7d0f6ed95cceac382806196b4085 Mon Sep 17 00:00:00 2001 From: ayin Date: Thu, 10 Jan 2008 00:44:43 +0000 Subject: [PATCH] Make stock_keymap array conditional on STOCK_KEYMAP. --- src/keyboard.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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; }; -- 2.34.1