summaryrefslogtreecommitdiff
path: root/indra/newview/lllocationinputctrl.cpp
diff options
context:
space:
mode:
authorDave Houlton <euclid@lindenlab.com>2020-02-21 23:22:40 +0000
committerDave Houlton <euclid@lindenlab.com>2020-02-21 23:22:40 +0000
commit7f1b4b22e69f2ad9c404b2e54a17c2ed4fa161da (patch)
treeb5ac7ac56e27105fcbf04d02aaebe31fdb6ce083 /indra/newview/lllocationinputctrl.cpp
parent01d4fd2451f6ba2f4f17c7fbf0f9511d37b20e21 (diff)
parent7674c00fb934b1269192553ccd0cd029d65a4e24 (diff)
Merge master (rel 6.3.8) to DRTVWR-440 (pull request #11)
Diffstat (limited to 'indra/newview/lllocationinputctrl.cpp')
-rw-r--r--indra/newview/lllocationinputctrl.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/indra/newview/lllocationinputctrl.cpp b/indra/newview/lllocationinputctrl.cpp
index c6ed514e4c..fd418afd2c 100644
--- a/indra/newview/lllocationinputctrl.cpp
+++ b/indra/newview/lllocationinputctrl.cpp
@@ -1099,9 +1099,7 @@ void LLLocationInputCtrl::changeLocationPresentation()
//change location presentation only if user does not select/paste anything and
//human-readable region name is being displayed
- std::string text = mTextEntry->getText();
- LLStringUtil::trim(text);
- if(!mTextEntry->hasSelection() && text == mHumanReadableLocation)
+ if(!mTextEntry->hasSelection() && mTextEntry->getText() == mHumanReadableLocation)
{
//needs unescaped one
LLSLURL slurl;