diff options
author | Roxie Linden <roxie@lindenlab.com> | 2010-04-06 22:02:49 -0700 |
---|---|---|
committer | Roxie Linden <roxie@lindenlab.com> | 2010-04-06 22:02:49 -0700 |
commit | 0fec01385d3c09490457aa1069f2985d5ec793f9 (patch) | |
tree | f52d6a296a9131febcb724baf425c94baeba7dc3 | |
parent | 8bd5a3bca38b0ba663d3563029e54da057020424 (diff) |
DEV-48542 - CID-444/CID-445: missing break in switch, llpanellogin.cpp
Added missing breaks.
CR: Josh
-rw-r--r-- | indra/newview/llpanellogin.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/indra/newview/llpanellogin.cpp b/indra/newview/llpanellogin.cpp index b620a005d2..548f97b9f1 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; + } } } |