summaryrefslogtreecommitdiff
path: root/src/spellshortcut.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/spellshortcut.h')
-rw-r--r--src/spellshortcut.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/spellshortcut.h b/src/spellshortcut.h
index 5210fc4dc..99f899eaa 100644
--- a/src/spellshortcut.h
+++ b/src/spellshortcut.h
@@ -81,7 +81,7 @@ class SpellShortcut
{ return mItems[index]; }
private:
- int mItems[SPELL_SHORTCUT_ITEMS]; /**< The items stored. */
+ int mItems[SPELL_SHORTCUT_ITEMS * SPELL_SHORTCUT_TABS];
int mItemSelected; /**< The item held by cursor. */
};