summaryrefslogtreecommitdiff
path: root/indra/llui/llview.cpp
diff options
context:
space:
mode:
authorRichard Linden <none@none>2011-09-06 16:05:03 -0700
committerRichard Linden <none@none>2011-09-06 16:05:03 -0700
commitfef401a1768bae9bfb23a13549fa3a5005f2c7ae (patch)
treee5a23353a9b00986996d1726919bb28acd671ebd /indra/llui/llview.cpp
parent12832768e122ba76a12b3b673526f7d36f896618 (diff)
build fix
Diffstat (limited to 'indra/llui/llview.cpp')
-rw-r--r--indra/llui/llview.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llui/llview.cpp b/indra/llui/llview.cpp
index 6a9384367d..0616c2a0c0 100644
--- a/indra/llui/llview.cpp
+++ b/indra/llui/llview.cpp
@@ -2549,7 +2549,7 @@ void LLView::applyXUILayout(LLView::Params& p, LLView* parent)
if (p.left_pad.isProvided())
{
// left_pad is based on prior widget's right edge
- p.left_delta.set(p.left_pad + last_rect.getWidth(), false);
+ p.left_delta.set(p.left_pad + default_rect.getWidth(), false);
}
default_rect.translate(p.left_delta, p.bottom_delta);