diff options
| author | Eugene Sandulenko | 2016-06-01 11:18:17 +0200 | 
|---|---|---|
| committer | Eugene Sandulenko | 2016-06-01 13:16:12 +0200 | 
| commit | b590cc2d8fa0dfe0bc0df40afc95ad3f8573e779 (patch) | |
| tree | 9fd6768736a0121da7ad9a27d42652dfe6a12722 /gui/widgets/popup.cpp | |
| parent | 359ef3de531b14095d1cb06dc4e3b5d2ff30693e (diff) | |
| download | scummvm-rg350-b590cc2d8fa0dfe0bc0df40afc95ad3f8573e779.tar.gz scummvm-rg350-b590cc2d8fa0dfe0bc0df40afc95ad3f8573e779.tar.bz2 scummvm-rg350-b590cc2d8fa0dfe0bc0df40afc95ad3f8573e779.zip  | |
GUI: Cleanup class initialization
Diffstat (limited to 'gui/widgets/popup.cpp')
| -rw-r--r-- | gui/widgets/popup.cpp | 3 | 
1 files changed, 3 insertions, 0 deletions
diff --git a/gui/widgets/popup.cpp b/gui/widgets/popup.cpp index 0b2ea9fd4e..0a1010f8fa 100644 --- a/gui/widgets/popup.cpp +++ b/gui/widgets/popup.cpp @@ -144,6 +144,8 @@ PopUpDialog::PopUpDialog(PopUpWidget *boss, int clickX, int clickY)  	_clickY = clickY - _y;  	_openTime = 0; +	_buffer = nullptr; +	_entriesPerColumn = 1;  }  void PopUpDialog::drawDialog() { @@ -380,6 +382,7 @@ PopUpWidget::PopUpWidget(GuiObject *boss, const String &name, const char *toolti  	_type = kPopUpWidget;  	_selectedItem = -1; +	_leftPadding = _rightPadding = 0;  }  PopUpWidget::PopUpWidget(GuiObject *boss, int x, int y, int w, int h, const char *tooltip)  | 
