summaryrefslogtreecommitdiff
path: root/indra/newview/llpanellogin.cpp
diff options
context:
space:
mode:
authorRoxie Linden <roxie@lindenlab.com>2010-04-06 22:04:18 -0700
committerRoxie Linden <roxie@lindenlab.com>2010-04-06 22:04:18 -0700
commit6b6e0b7e58db469026db133c987add38bf41b644 (patch)
tree02100cfa46eee2713446953549a0f292cf466085 /indra/newview/llpanellogin.cpp
parent244de628f2a71ea773cdcabb8328df26f20e3120 (diff)
parent0fec01385d3c09490457aa1069f2985d5ec793f9 (diff)
automated merge of DEV-48542
Diffstat (limited to 'indra/newview/llpanellogin.cpp')
-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;
+ }
}
}