diff options
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/widgets/scrollarea.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/widgets/scrollarea.cpp b/src/gui/widgets/scrollarea.cpp index e865839ab..b7073372c 100644 --- a/src/gui/widgets/scrollarea.cpp +++ b/src/gui/widgets/scrollarea.cpp @@ -956,6 +956,8 @@ gcn::Rectangle ScrollArea::getHorizontalMarkerDimension() const int w3 = content->getWidth(); if (w3) length = (width * getChildrenArea().width) / w3; + else + length = width; } else { |