aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llpanellogin.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--linden/indra/newview/llpanellogin.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/linden/indra/newview/llpanellogin.cpp b/linden/indra/newview/llpanellogin.cpp
index 1dff0cc..7b05794 100644
--- a/linden/indra/newview/llpanellogin.cpp
+++ b/linden/indra/newview/llpanellogin.cpp
@@ -878,10 +878,14 @@ void LLPanelLogin::loadLoginForm()
878 { 878 {
879 username_l->setText(firstname_s); 879 username_l->setText(firstname_s);
880 } 880 }
881 else 881 else if (!firstname_s.empty() && !lastname_s.empty())
882 { 882 {
883 username_l->setText(firstname_s+"."+lastname_s); 883 username_l->setText(firstname_s+"."+lastname_s);
884 } 884 }
885 else
886 {
887 username_l->clear();
888 }
885 } 889 }
886 else 890 else
887 { 891 {