summaryrefslogtreecommitdiff
path: root/indra/llui/llspellcheck.cpp
diff options
context:
space:
mode:
authorAndreyL ProductEngine <alihatskiy@productengine.com>2018-01-17 03:58:24 +0200
committerAndreyL ProductEngine <alihatskiy@productengine.com>2018-01-17 03:58:24 +0200
commit15c62d9e713eb1d51cc063c4ec2fed1d1f4ca59c (patch)
treebbd0338a45d6fe58923f108399eaa6db91568420 /indra/llui/llspellcheck.cpp
parent4e808cfa852b873b484d0b9c90ab89ac196c3e52 (diff)
parent57a99273ed023bd71c54399969e66ffc23eebc57 (diff)
Merged in lindenlab/viewer-bear
Diffstat (limited to 'indra/llui/llspellcheck.cpp')
-rw-r--r--indra/llui/llspellcheck.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/indra/llui/llspellcheck.cpp b/indra/llui/llspellcheck.cpp
index 5a52600337..7f64743e99 100644
--- a/indra/llui/llspellcheck.cpp
+++ b/indra/llui/llspellcheck.cpp
@@ -406,10 +406,7 @@ const std::string LLSpellChecker::getDictionaryAppPath()
const std::string LLSpellChecker::getDictionaryUserPath()
{
std::string dict_path = gDirUtilp->getExpandedFilename(LL_PATH_USER_SETTINGS, DICT_DIR, "");
- if (!gDirUtilp->fileExists(dict_path))
- {
- LLFile::mkdir(dict_path);
- }
+ LLFile::mkdir(dict_path);
return dict_path;
}