Merge r3891 (hunspell path fix.)

Originally committed to SVN as r3892.
This commit is contained in:
Amar Takhar 2009-12-24 18:16:19 +00:00
parent 660e392423
commit a49aa20a22

View file

@ -130,7 +130,11 @@ void OptionsManager::LoadDefaults(bool onlyDefaults,bool doOverride) {
// Edit Box // Edit Box
SetModificationType(MOD_RESTART); SetModificationType(MOD_RESTART);
#if defined(__WINDOWS__) || defined(__APPLE__)
SetText(_T("Dictionaries path"),_T("?data/dictionaries")); SetText(_T("Dictionaries path"),_T("?data/dictionaries"));
#else
SetText(_T("Dictionaries path"),wxString::Format(_T("%s/%s"), _T(INSTALL_PREFIX),_T("/share/myspell")));
#endif
SetText(_T("Spell Checker"),_T("hunspell")); SetText(_T("Spell Checker"),_T("hunspell"));
SetModificationType(MOD_AUTOMATIC); SetModificationType(MOD_AUTOMATIC);
SetBool(_T("Link time boxes commit"),true); SetBool(_T("Link time boxes commit"),true);