summaryrefslogtreecommitdiff
path: root/indra/newview/llfolderviewitem.cpp
diff options
context:
space:
mode:
authorMark Palange (Mani) <palange@lindenlab.com>2009-10-16 18:13:53 -0700
committerMark Palange (Mani) <palange@lindenlab.com>2009-10-16 18:13:53 -0700
commitb4275c5d48c8cdf4bbe206822878fcf615897ac9 (patch)
tree4ef9b931f0a9c8f2b3073c5c33e06672fa56d345 /indra/newview/llfolderviewitem.cpp
parent3e10fa4d51a23bf6f1ced23e8d90c636d84fa5db (diff)
parentcb1b361b49c9ae6a76eaeeb4476a341a024a71f1 (diff)
merge
Diffstat (limited to 'indra/newview/llfolderviewitem.cpp')
-rw-r--r--indra/newview/llfolderviewitem.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/newview/llfolderviewitem.cpp b/indra/newview/llfolderviewitem.cpp
index 2b1dd83d72..879b33e571 100644
--- a/indra/newview/llfolderviewitem.cpp
+++ b/indra/newview/llfolderviewitem.cpp
@@ -70,6 +70,10 @@ LLFontGL* LLFolderViewItem::getLabelFontForStyle(U8 style)
{
LLFontDescriptor labelfontdesc("SansSerif", "Small", style);
rtn = LLFontGL::getFont(labelfontdesc);
+ if (!rtn)
+ {
+ rtn = LLFontGL::getFontDefault();
+ }
sFonts[style] = rtn;
}
return rtn;