summaryrefslogtreecommitdiff
path: root/src/gui/widgets/shortcutcontainer.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/shortcutcontainer.h')
-rw-r--r--src/gui/widgets/shortcutcontainer.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/src/gui/widgets/shortcutcontainer.h b/src/gui/widgets/shortcutcontainer.h
index f0f9b730..449a06f3 100644
--- a/src/gui/widgets/shortcutcontainer.h
+++ b/src/gui/widgets/shortcutcontainer.h
@@ -91,11 +91,13 @@ class ShortcutContainer : public gcn::Widget,
static float mAlpha;
- int mMaxItems;
- int mBoxWidth;
- int mBoxHeight;
- int mCursorPosX, mCursorPosY;
- int mGridWidth, mGridHeight;
+ int mMaxItems = 0;
+ int mBoxWidth = 0;
+ int mBoxHeight = 0;
+ int mCursorPosX = 0;
+ int mCursorPosY = 0;
+ int mGridWidth = 1;
+ int mGridHeight = 1;
};
#endif