Fixed crash from non-initialized value.

This commit is contained in:
Stephen Anthony 2017-04-24 14:03:27 -02:30
parent 2d58825b25
commit b0bb4bda29
1 changed files with 1 additions and 0 deletions

View File

@ -37,6 +37,7 @@ PromptWidget::PromptWidget(GuiObject* boss, const GUI::Font& font,
int x, int y, int w, int h)
: Widget(boss, font, x, y, w - kScrollBarWidth, h),
CommandSender(boss),
_historyIndex(0),
_makeDirty(false),
_firstTime(true),
_exitedEarly(false)