Merge r3891 (hunspell path fix.)
Originally committed to SVN as r3892.
This commit is contained in:
parent
660e392423
commit
a49aa20a22
1 changed files with 4 additions and 0 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue