diff options
-rw-r--r-- | ChangeLog.txt | 6 | ||||
-rw-r--r-- | linden/indra/newview/llfolderview.cpp | 4 |
2 files changed, 8 insertions, 2 deletions
diff --git a/ChangeLog.txt b/ChangeLog.txt index f5a4b4e..9cb5453 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt | |||
@@ -1,3 +1,9 @@ | |||
1 | 2009-01-17 Jacek Antonelli <jacek.antonelli@gmail.com> | ||
2 | |||
3 | * linden/indra/newview/llfolderview.cpp: | ||
4 | Replaced some 0xffffffff's with NIT_ALL. | ||
5 | |||
6 | |||
1 | 2009-01-16 Jacek Antonelli <jacek.antonelli@gmail.com> | 7 | 2009-01-16 Jacek Antonelli <jacek.antonelli@gmail.com> |
2 | 8 | ||
3 | * linden/indra/newview/llgroupnotify.cpp: | 9 | * linden/indra/newview/llgroupnotify.cpp: |
diff --git a/linden/indra/newview/llfolderview.cpp b/linden/indra/newview/llfolderview.cpp index 58d0c42..cb9a379 100644 --- a/linden/indra/newview/llfolderview.cpp +++ b/linden/indra/newview/llfolderview.cpp | |||
@@ -4479,7 +4479,7 @@ LLInventoryFilter::LLInventoryFilter(const std::string& name) : | |||
4479 | mModified(FALSE), | 4479 | mModified(FALSE), |
4480 | mNeedTextRebuild(TRUE) | 4480 | mNeedTextRebuild(TRUE) |
4481 | { | 4481 | { |
4482 | mFilterOps.mFilterTypes = 0xffffffff; | 4482 | mFilterOps.mFilterTypes = LLInventoryType::NIT_ALL; |
4483 | mFilterOps.mMinDate = time_min(); | 4483 | mFilterOps.mMinDate = time_min(); |
4484 | mFilterOps.mMaxDate = time_max(); | 4484 | mFilterOps.mMaxDate = time_max(); |
4485 | mFilterOps.mHoursAgo = 0; | 4485 | mFilterOps.mHoursAgo = 0; |
@@ -4552,7 +4552,7 @@ BOOL LLInventoryFilter::isNotDefault() | |||
4552 | 4552 | ||
4553 | BOOL LLInventoryFilter::isActive() | 4553 | BOOL LLInventoryFilter::isActive() |
4554 | { | 4554 | { |
4555 | return mFilterOps.mFilterTypes != 0xffffffff | 4555 | return mFilterOps.mFilterTypes != LLInventoryType::NIT_ALL |
4556 | || mFilterSubString.size() | 4556 | || mFilterSubString.size() |
4557 | || mFilterOps.mPermissions != PERM_NONE | 4557 | || mFilterOps.mPermissions != PERM_NONE |
4558 | || mFilterOps.mMinDate != time_min() | 4558 | || mFilterOps.mMinDate != time_min() |