diff options
Diffstat (limited to 'linden/indra')
-rw-r--r-- | linden/indra/newview/llviewernetwork.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/linden/indra/newview/llviewernetwork.cpp b/linden/indra/newview/llviewernetwork.cpp index c8cffcf..2b5cc0c 100644 --- a/linden/indra/newview/llviewernetwork.cpp +++ b/linden/indra/newview/llviewernetwork.cpp | |||
@@ -163,7 +163,8 @@ std::string LLViewerLogin::getGridLabel() const | |||
163 | 163 | ||
164 | std::string LLViewerLogin::getGridCodeName() const | 164 | std::string LLViewerLogin::getGridCodeName() const |
165 | { | 165 | { |
166 | if( gGridInfo[mGridChoice].mCodeName == "" ) | 166 | // Fall back to grid label if code name is empty. |
167 | if( strcmp(gGridInfo[mGridChoice].mCodeName, "") == 0 ) | ||
167 | { | 168 | { |
168 | return getGridLabel(); | 169 | return getGridLabel(); |
169 | } | 170 | } |