summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJorge Arellano Cid <jcid@dillo.org>2011-05-06 18:50:29 -0300
committerJorge Arellano Cid <jcid@dillo.org>2011-05-06 18:50:29 -0300
commit49f3a54f982e682a20dafc74fa32c3619cc4bef4 (patch)
tree1ec1733caad85fe1fc6d592aa3bd6853f93c3482
parent79e91032687ed43a5a1cd3ce4438491a3423a49a (diff)
Fixed a typo bug in Layout::setSizeHints
-rw-r--r--dw/layout.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/dw/layout.cc b/dw/layout.cc
index d2097859..8a439ae6 100644
--- a/dw/layout.cc
+++ b/dw/layout.cc
@@ -698,7 +698,7 @@ void Layout::setSizeHints ()
if (topLevel) {
topLevel->setWidth (viewportWidth
- (canvasHeightGreater ? vScrollbarThickness : 0));
- topLevel->setAscent (viewportHeight - vScrollbarThickness);
+ topLevel->setAscent (viewportHeight - hScrollbarThickness);
topLevel->setDescent (0);
}
}