summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorMerov Linden <merov@lindenlab.com>2013-01-07 18:02:28 -0800
committerMerov Linden <merov@lindenlab.com>2013-01-07 18:02:28 -0800
commit51d6589eedc408aa7f8a81009b1be356ddc99252 (patch)
tree0d8f38226106e0d688f0affb2b5d40ac1610b849 /indra/newview
parentd68f4ff646378070c1a92b3dc53f791454395356 (diff)
CHUI-659 : WIP : Clean up typos in my own comments
Diffstat (limited to 'indra/newview')
-rw-r--r--indra/newview/llfolderviewmodelinventory.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/llfolderviewmodelinventory.cpp b/indra/newview/llfolderviewmodelinventory.cpp
index 429315e33f..d47c28678d 100644
--- a/indra/newview/llfolderviewmodelinventory.cpp
+++ b/indra/newview/llfolderviewmodelinventory.cpp
@@ -245,13 +245,13 @@ bool LLInventorySort::operator()(const LLFolderViewModelItemInventory* const& a,
&& b->getInventoryType() == LLInventoryType::IT_LANDMARK)
{
static const LLUUID& favorites_folder_id = gInventory.findCategoryUUIDForType(LLFolderType::FT_FAVORITE);
- // If both landmarks are in the favorite folder...
+ // If both landmarks are in the Favorites folder...
if (gInventory.isObjectDescendentOf(a->getUUID(), favorites_folder_id) && gInventory.isObjectDescendentOf(b->getUUID(), favorites_folder_id))
{
// Get their index in that folder
S32 a_sort = LLFavoritesOrderStorage::instance().getSortIndex(a->getUUID());
S32 b_sort = LLFavoritesOrderStorage::instance().getSortIndex(b->getUUID());
- // Note: since there are both in the favorite, we shouldn't get negative index value...
+ // Note: this test is a bit overkill: since they are both in the Favorites folder, we shouldn't get negative index values...
if (!((a_sort < 0) && (b_sort < 0)))
{
return a_sort < b_sort;