From fef401a1768bae9bfb23a13549fa3a5005f2c7ae Mon Sep 17 00:00:00 2001
From: Richard Linden <none@none>
Date: Tue, 6 Sep 2011 16:05:03 -0700
Subject: [PATCH] build fix

---
 indra/llui/llview.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/indra/llui/llview.cpp b/indra/llui/llview.cpp
index 6a9384367d3..0616c2a0c0a 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);				
-- 
GitLab