From 69bed1f123f35b6124f4e3255df156b7fe82418b Mon Sep 17 00:00:00 2001 From: Tofu Linden Date: Thu, 11 Feb 2010 13:07:57 +0000 Subject: CID-83 follow-up --- indra/newview/llpanellandmarkinfo.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'indra') diff --git a/indra/newview/llpanellandmarkinfo.cpp b/indra/newview/llpanellandmarkinfo.cpp index 1a3a44f608..cd6c727b5c 100644 --- a/indra/newview/llpanellandmarkinfo.cpp +++ b/indra/newview/llpanellandmarkinfo.cpp @@ -414,7 +414,7 @@ void LLPanelLandmarkInfo::populateFoldersList() else { std::string cat_full_name = getFullFolderName(lmcat); - mFolderCombo->add(cat_full_name, cat->getUUID()); + mFolderCombo->add(cat_full_name, lmcat->getUUID()); } typedef std::vector folder_vec_t; @@ -423,7 +423,7 @@ void LLPanelLandmarkInfo::populateFoldersList() for (S32 i = 0; i < cats.count(); i++) { const LLViewerInventoryCategory* cat = cats.get(i); - cat_full_name = getFullFolderName(cat); + std::string cat_full_name = getFullFolderName(cat); folders.push_back(folder_pair_t(cat->getUUID(), cat_full_name)); } sort(folders.begin(), folders.end(), cmp_folders); -- cgit v1.2.3