From 536832354d7b38230bca3c3495364097d948d503 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Dan=20Hor=C3=A1k?= <dan@danny.cz>
Date: Sat, 19 Apr 2014 22:53:00 +0200
Subject: [PATCH] set Fedora paths for spellchecker and thesaurus
---
src/plugins/contrib/SpellChecker/SpellCheckerConfig.cpp | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/src/plugins/contrib/SpellChecker/SpellCheckerConfig.cpp b/src/plugins/contrib/SpellChecker/SpellCheckerConfig.cpp
index b8b50d6..d449b8b 100644
--- a/src/plugins/contrib/SpellChecker/SpellCheckerConfig.cpp
+++ b/src/plugins/contrib/SpellChecker/SpellCheckerConfig.cpp
@@ -172,8 +172,7 @@ void SpellCheckerConfig::DetectDictionaryPath()
}
else
{
- dictPaths.Add(wxT("/usr/share/hunspell"));
- dictPaths.Add(wxT("/usr/share/myspell/dicts"));
+ dictPaths.Add(wxT("/usr/share/myspell"));
}
dictPaths.Add(m_pPlugin->GetOnlineCheckerConfigPath());
for (size_t i = 0; i < dictPaths.GetCount(); ++i)
@@ -209,7 +208,6 @@ void SpellCheckerConfig::DetectThesaurusPath()
}
else
{
- thesPaths.Add(wxT("/usr/share/myspell/dicts"));
thesPaths.Add(wxT("/usr/share/mythes"));
}
thesPaths.Add(m_pPlugin->GetOnlineCheckerConfigPath());
--
1.9.0