aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llfloaterworldmap.cpp
diff options
context:
space:
mode:
authorJacek Antonelli2008-08-15 23:45:07 -0500
committerJacek Antonelli2008-08-15 23:45:07 -0500
commit8465910c79b8e746e04fd581cca2d60399e569b9 (patch)
treef43fec3e83c46e0d6190dca923d6fb268b52ffdd /linden/indra/newview/llfloaterworldmap.cpp
parentSecond Life viewer sources 1.18.2.1 (diff)
downloadmeta-impy-8465910c79b8e746e04fd581cca2d60399e569b9.zip
meta-impy-8465910c79b8e746e04fd581cca2d60399e569b9.tar.gz
meta-impy-8465910c79b8e746e04fd581cca2d60399e569b9.tar.bz2
meta-impy-8465910c79b8e746e04fd581cca2d60399e569b9.tar.xz
Second Life viewer sources 1.18.3.2-RC
Diffstat (limited to 'linden/indra/newview/llfloaterworldmap.cpp')
-rw-r--r--linden/indra/newview/llfloaterworldmap.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/linden/indra/newview/llfloaterworldmap.cpp b/linden/indra/newview/llfloaterworldmap.cpp
index ccd252b..237563f 100644
--- a/linden/indra/newview/llfloaterworldmap.cpp
+++ b/linden/indra/newview/llfloaterworldmap.cpp
@@ -1242,6 +1242,14 @@ void LLFloaterWorldMap::onLocationCommit( void* userdata )
1242 1242
1243 LLString str = self->childGetValue("location").asString(); 1243 LLString str = self->childGetValue("location").asString();
1244 1244
1245 // Trim any leading and trailing spaces in the search target
1246 LLString saved_str = str;
1247 LLString::trim( str );
1248 if ( str != saved_str )
1249 { // Set the value in the UI if any spaces were removed
1250 self->childSetValue("location", str);
1251 }
1252
1245 LLString::toLower(str); 1253 LLString::toLower(str);
1246 gFloaterWorldMap->mCompletingRegionName = str; 1254 gFloaterWorldMap->mCompletingRegionName = str;
1247 gWorldMap->mIsTrackingCommit = TRUE; 1255 gWorldMap->mIsTrackingCommit = TRUE;