summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview')
-rw-r--r--indra/newview/llpanellogin.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/indra/newview/llpanellogin.cpp b/indra/newview/llpanellogin.cpp
index 42e4b397db..a9e6484061 100644
--- a/indra/newview/llpanellogin.cpp
+++ b/indra/newview/llpanellogin.cpp
@@ -785,11 +785,20 @@ void LLPanelLogin::getLocation(LLSLURL& slurl)
switch(combo->getCurrentIndex())
{
case 0:
+ {
slurl = LLSLURL(LLSLURL::SIM_LOCATION_HOME);
+ break;
+ }
case 1:
+ {
slurl = LLSLURL(LLSLURL::SIM_LOCATION_LAST);
+ break;
+ }
default:
+ {
slurl = LLSLURL(combo->getValue().asString());
+ break;
+ }
}
}