summaryrefslogtreecommitdiff
path: root/indra/newview/lltoolbar.cpp
diff options
context:
space:
mode:
authorJames Cook <james@lindenlab.com>2009-11-10 14:36:25 -0800
committerJames Cook <james@lindenlab.com>2009-11-10 14:36:25 -0800
commitbc4b49735cf5d162a43d0c8fa880e6e9fd828e4a (patch)
tree0067e7ccc8c9a245245a0369b9c5cf81ad9983c7 /indra/newview/lltoolbar.cpp
parent77f982c1a9a8f5b30e8b369da6f7208c171700b1 (diff)
parent0f6242d9fd948cda1abf18885eef320b22d310c5 (diff)
merge
Diffstat (limited to 'indra/newview/lltoolbar.cpp')
-rw-r--r--indra/newview/lltoolbar.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/lltoolbar.cpp b/indra/newview/lltoolbar.cpp
index 0572f9a698..268a18d2a2 100644
--- a/indra/newview/lltoolbar.cpp
+++ b/indra/newview/lltoolbar.cpp
@@ -206,7 +206,7 @@ void LLToolBar::layoutButtons()
{
#if LL_DARWIN
const S32 FUDGE_WIDTH_OF_SCREEN = 4;
- S32 width = gViewerWindow->getWindowWidth() + FUDGE_WIDTH_OF_SCREEN;
+ S32 width = gViewerWindow->getWindowWidthScaled() + FUDGE_WIDTH_OF_SCREEN;
S32 pad = 2;
// this function may be called before postBuild(), in which case mResizeHandle won't have been set up yet.