summaryrefslogtreecommitdiffstats
path: root/kdeui
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2015-06-14 20:29:21 +0200
committerSlávek Banko <slavek.banko@axis.cz>2015-12-23 02:23:02 +0100
commit1a68e615e1a17f519c73644ebc607de12a3df710 (patch)
tree2cbf4ff561e30057bfeb8fac0573ebe3199ba046 /kdeui
parent67d736925c398deb9df42ffa589a65106f492bde (diff)
downloadtdelibs-1a68e615e1a17f519c73644ebc607de12a3df710.tar.gz
tdelibs-1a68e615e1a17f519c73644ebc607de12a3df710.zip
Fix several issues on freebsd
Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit e469e42c76000b70aebaf838f5a3c4ded184b0e3)
Diffstat (limited to 'kdeui')
-rw-r--r--kdeui/ksconfig.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kdeui/ksconfig.cpp b/kdeui/ksconfig.cpp
index 8774fc27e..c82f71ef7 100644
--- a/kdeui/ksconfig.cpp
+++ b/kdeui/ksconfig.cpp
@@ -188,7 +188,7 @@ KSpellConfig::readGlobalSettings()
setDictionary ( kc->readEntry("KSpell_Dictionary") );
setDictFromList ( kc->readNumEntry("KSpell_DictFromList", false) );
setEncoding ( kc->readNumEntry ("KSpell_Encoding", KS_E_UTF8) );
-#ifdef __OpenBSD__
+#if defined(__OpenBSD__) || defined(__FreeBSD__)
setClient ( kc->readNumEntry ("KSpell_Client", KS_CLIENT_ASPELL) );
#else
setClient ( kc->readNumEntry ("KSpell_Client", KS_CLIENT_ISPELL) );