summaryrefslogtreecommitdiff
path: root/indra/newview/llpersonfolderview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/llpersonfolderview.cpp')
-rw-r--r--indra/newview/llpersonfolderview.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/llpersonfolderview.cpp b/indra/newview/llpersonfolderview.cpp
index e1f1cbb1fa..97b2ce092b 100644
--- a/indra/newview/llpersonfolderview.cpp
+++ b/indra/newview/llpersonfolderview.cpp
@@ -43,7 +43,7 @@ LLFolderViewFolder(p)
}
S32 LLPersonFolderView::getLabelXPos()
-{
+{
return getIndentation() + mArrowSize + 15;//Should be a .xml variable but causes crash;
}
@@ -55,7 +55,7 @@ LLPersonFolderView::~LLPersonFolderView()
void LLPersonFolderView::draw()
{
static LLUIColor sFgColor = LLUIColorTable::instance().getColor("MenuItemEnabledColor", DEFAULT_WHITE);
- static const LLFolderViewItem::Params& default_params = LLUICtrlFactory::getDefaultParams<LLFolderViewItem>();
+ static const LLFolderViewItem::Params& default_params = LLUICtrlFactory::getDefaultParams<LLPersonFolderView>();
static LLUIColor sHighlightBgColor = LLUIColorTable::instance().getColor("MenuItemHighlightBgColor", DEFAULT_WHITE);
static LLUIColor sFlashBgColor = LLUIColorTable::instance().getColor("MenuItemFlashBgColor", DEFAULT_WHITE);