diff options
author | François Andriot <[email protected]> | 2014-10-05 16:41:48 +0200 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2014-10-05 16:41:48 +0200 |
commit | cca50763480753652ae019bf74eb1fa98194d209 (patch) | |
tree | 0fa00ef237159674c6953d5917bdd38ec7d64eae /tdeui/ksconfig.cpp | |
parent | 69e7a5c4fa39591e0cb5f1774707bf84d8c0fd9b (diff) | |
download | tdelibs-cca50763480753652ae019bf74eb1fa98194d209.tar.gz tdelibs-cca50763480753652ae019bf74eb1fa98194d209.zip |
Fix default spell checker on openbsd
Diffstat (limited to 'tdeui/ksconfig.cpp')
-rw-r--r-- | tdeui/ksconfig.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tdeui/ksconfig.cpp b/tdeui/ksconfig.cpp index a9958dea9..ddae27e25 100644 --- a/tdeui/ksconfig.cpp +++ b/tdeui/ksconfig.cpp @@ -188,7 +188,11 @@ KSpellConfig::readGlobalSettings() setDictionary ( kc->readEntry("KSpell_Dictionary") ); setDictFromList ( kc->readNumEntry("KSpell_DictFromList", false) ); setEncoding ( kc->readNumEntry ("KSpell_Encoding", KS_E_UTF8) ); +#ifdef __OpenBSD__ + setClient ( kc->readNumEntry ("KSpell_Client", KS_CLIENT_ASPELL) ); +#else setClient ( kc->readNumEntry ("KSpell_Client", KS_CLIENT_ISPELL) ); +#endif return true; } |