summaryrefslogtreecommitdiff
path: root/indra/newview/llpanellogin.cpp
diff options
context:
space:
mode:
authorCallum Prentice <callum@lindenlab.com>2014-09-25 12:19:45 -0700
committerCallum Prentice <callum@lindenlab.com>2014-09-25 12:19:45 -0700
commit37250a8746626bd8b33af51e04e4b632a0549207 (patch)
tree86e3631fd4449189c0c0c026147b2eb2a169a489 /indra/newview/llpanellogin.cpp
parent7eb619e0e5aee3c6b9649909e1253a5003587c10 (diff)
MAINT-4476 FIX (via patch) It's possible to use landmarks of previous user on login screen
Diffstat (limited to 'indra/newview/llpanellogin.cpp')
-rwxr-xr-xindra/newview/llpanellogin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llpanellogin.cpp b/indra/newview/llpanellogin.cpp
index 5fa4b1bbb9..bbc3b85bf0 100755
--- a/indra/newview/llpanellogin.cpp
+++ b/indra/newview/llpanellogin.cpp
@@ -329,7 +329,7 @@ void LLPanelLogin::addFavoritesToStartLocation()
LLComboBox* combo = getChild<LLComboBox>("start_location_combo");
if (!combo) return;
int num_items = combo->getItemCount();
- for (int i = num_items - 1; i > 2; i--)
+ for (int i = num_items - 1; i > 0; i--)
{
combo->remove(i);
}