diff options
author | Merov Linden <merov@lindenlab.com> | 2013-12-12 09:59:50 -0800 |
---|---|---|
committer | Merov Linden <merov@lindenlab.com> | 2013-12-12 09:59:50 -0800 |
commit | 4745ab85dab9e418c49e5c4a722aa88548b8f39e (patch) | |
tree | 367001447fda9438c5beb03f2fb09bbe7e2b2abd /indra/newview/llautoreplace.cpp | |
parent | 6a89cb6f25adafdf07a4241e7bbe6fee758c1048 (diff) | |
parent | a4f121f065c580ac34e8caa666855c95eb29138b (diff) |
Pull merge from lindenlab/viewer-acme
Diffstat (limited to 'indra/newview/llautoreplace.cpp')
-rwxr-xr-x | indra/newview/llautoreplace.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/llautoreplace.cpp b/indra/newview/llautoreplace.cpp index 1d72397cbc..dd9354fe3a 100755 --- a/indra/newview/llautoreplace.cpp +++ b/indra/newview/llautoreplace.cpp @@ -39,7 +39,7 @@ void LLAutoReplace::autoreplaceCallback(S32& replacement_start, S32& replacement replacement_length = 0; replacement_string.clear(); - static LLCachedControl<bool> perform_autoreplace(gSavedSettings, "AutoReplace"); + static LLCachedControl<bool> perform_autoreplace(gSavedSettings, "AutoReplace", 0); if (perform_autoreplace) { S32 word_end = cursor_pos - 1; @@ -679,7 +679,7 @@ bool LLAutoReplaceSettings::decreaseListPriority(std::string listName) std::string LLAutoReplaceSettings::replaceWord(const std::string currentWord) { std::string returnedWord = currentWord; // in case no replacement is found - static LLCachedControl<bool> autoreplace_enabled(gSavedSettings, "AutoReplace"); + static LLCachedControl<bool> autoreplace_enabled(gSavedSettings, "AutoReplace", false); if ( autoreplace_enabled ) { LL_DEBUGS("AutoReplace")<<"checking '"<<currentWord<<"'"<< LL_ENDL; |