summaryrefslogtreecommitdiff
path: root/indra/newview/lllocationinputctrl.cpp
diff options
context:
space:
mode:
authorDave Houlton <euclid@lindenlab.com>2020-02-21 12:05:46 -0700
committerDave Houlton <euclid@lindenlab.com>2020-02-21 12:05:46 -0700
commit7674c00fb934b1269192553ccd0cd029d65a4e24 (patch)
treeb5ac7ac56e27105fcbf04d02aaebe31fdb6ce083 /indra/newview/lllocationinputctrl.cpp
parent01d4fd2451f6ba2f4f17c7fbf0f9511d37b20e21 (diff)
parent2c4133c8db131b08d40fc91e2881b873ea1a984d (diff)
Merge master (v 6.3.8) into DRTVWR-440
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;