diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-02-11 03:35:44 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-02-11 03:35:44 +0300 |
commit | 0b373909f1ad987e38b9c07f799f48c3c0b0c3fd (patch) | |
tree | a3170b0f5138da46f730f76725259e39cab32ff6 /src/gui/widgets/scrollarea.cpp | |
parent | 4d236566cc8132fdbcb901668c3291f7cf3279af (diff) | |
download | ManaVerse-0b373909f1ad987e38b9c07f799f48c3c0b0c3fd.tar.gz ManaVerse-0b373909f1ad987e38b9c07f799f48c3c0b0c3fd.tar.bz2 ManaVerse-0b373909f1ad987e38b9c07f799f48c3c0b0c3fd.tar.xz ManaVerse-0b373909f1ad987e38b9c07f799f48c3c0b0c3fd.zip |
Fix compilation issues.
Diffstat (limited to 'src/gui/widgets/scrollarea.cpp')
-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 { |