From 37250a8746626bd8b33af51e04e4b632a0549207 Mon Sep 17 00:00:00 2001 From: Callum Prentice Date: Thu, 25 Sep 2014 12:19:45 -0700 Subject: MAINT-4476 FIX (via patch) It's possible to use landmarks of previous user on login screen --- indra/newview/llpanellogin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'indra') 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("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); } -- cgit v1.2.3