aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Horn2002-11-13 15:20:08 +0000
committerMax Horn2002-11-13 15:20:08 +0000
commit76afd1d1a9bec89d0bdc60c644f5462e1e8b0f75 (patch)
tree59e1a9eb98021527bb5df5eb076703475f9560ea
parentd4fc414937ff72b71a5c5f5321565d353c762978 (diff)
downloadscummvm-rg350-76afd1d1a9bec89d0bdc60c644f5462e1e8b0f75.tar.gz
scummvm-rg350-76afd1d1a9bec89d0bdc60c644f5462e1e8b0f75.tar.bz2
scummvm-rg350-76afd1d1a9bec89d0bdc60c644f5462e1e8b0f75.zip
more initialisation fixes
svn-id: r5535
-rw-r--r--gui/ScrollBarWidget.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/gui/ScrollBarWidget.cpp b/gui/ScrollBarWidget.cpp
index 52dd22ef60..9066c67291 100644
--- a/gui/ScrollBarWidget.cpp
+++ b/gui/ScrollBarWidget.cpp
@@ -67,8 +67,15 @@ ScrollBarWidget::ScrollBarWidget(Dialog *boss, int x, int y, int w, int h)
_type = kScrollBarWidget;
_part = kNoPart;
+ _sliderHeight = 0;
+ _sliderPos = 0;
+
_draggingPart = kNoPart;
+ _sliderDeltaMouseDownPos = 0;
+ _numEntries = 0;
+ _entriesPerPage = 0;
+ _currentPos = 0;
}
void ScrollBarWidget::handleMouseDown(int x, int y, int button, int clickCount)