summaryrefslogtreecommitdiff
path: root/indra/newview/llfolderviewitem.cpp
diff options
context:
space:
mode:
authorSteve Bennetts <steve@lindenlab.com>2009-10-21 18:49:19 -0700
committerSteve Bennetts <steve@lindenlab.com>2009-10-21 18:49:19 -0700
commit642d368eccd662494a4958a50ba2bd3301b5207e (patch)
tree0aaa9d2981260051009e765a6171ad328f031183 /indra/newview/llfolderviewitem.cpp
parentc7786aa5b614d1c88359bacbe9bd447f5acdd84c (diff)
parente25395e10f5abbed1ed7bc3e4a7fc892070ddc50 (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 3591daf92d..f83a426cda 100644
--- a/indra/newview/llfolderviewitem.cpp
+++ b/indra/newview/llfolderviewitem.cpp
@@ -71,6 +71,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;