Fix default spell checker on openbsd

(cherry picked from commit cca5076348)
v3.5.13-sru
François Andriot 10 years ago committed by Slávek Banko
parent 1c8f40adda
commit 50c30d0de1

@ -188,7 +188,11 @@ KSpellConfig::readGlobalSettings()
setDictionary ( kc->readEntry("KSpell_Dictionary") ); setDictionary ( kc->readEntry("KSpell_Dictionary") );
setDictFromList ( kc->readNumEntry("KSpell_DictFromList", false) ); setDictFromList ( kc->readNumEntry("KSpell_DictFromList", false) );
setEncoding ( kc->readNumEntry ("KSpell_Encoding", KS_E_UTF8) ); 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) ); setClient ( kc->readNumEntry ("KSpell_Client", KS_CLIENT_ISPELL) );
#endif
return true; return true;
} }

Loading…
Cancel
Save