diff options
-rw-r--r-- | indra/newview/llpanelmarketplaceinbox.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/newview/llpanelmarketplaceinbox.cpp b/indra/newview/llpanelmarketplaceinbox.cpp index 1962724891..14c4c46fe7 100644 --- a/indra/newview/llpanelmarketplaceinbox.cpp +++ b/indra/newview/llpanelmarketplaceinbox.cpp @@ -115,6 +115,7 @@ BOOL LLPanelMarketplaceInbox::handleDragAndDrop(S32 x, S32 y, MASK mask, BOOL dr U32 LLPanelMarketplaceInbox::getFreshItemCount() const
{
+#if SUPPORTING_FRESH_ITEM_COUNT
U32 fresh_item_count = 0;
LLFolderView * root_folder = mInventoryPanel->getRootFolder();
@@ -135,6 +136,9 @@ U32 LLPanelMarketplaceInbox::getFreshItemCount() const }
return fresh_item_count;
+#else
+ return getTotalItemCount();
+#endif
}
U32 LLPanelMarketplaceInbox::getTotalItemCount() const
|