summaryrefslogtreecommitdiffstats
path: root/tdeui/ksconfig.cpp
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-06-14 20:29:21 +0200
commite469e42c76000b70aebaf838f5a3c4ded184b0e3 (patch)
treed3c30d649702aa97c9c2b59e80c9901ddb530a65 /tdeui/ksconfig.cpp
parente75569be1b7bf138685d0e4941daf111e6f51ba3 (diff)
downloadtdelibs-e469e42c76000b70aebaf838f5a3c4ded184b0e3.tar.gz
tdelibs-e469e42c76000b70aebaf838f5a3c4ded184b0e3.zip
Fix several issues on freebsd
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'tdeui/ksconfig.cpp')
-rw-r--r--tdeui/ksconfig.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tdeui/ksconfig.cpp b/tdeui/ksconfig.cpp
index ddae27e25..234882939 100644
--- a/tdeui/ksconfig.cpp
+++ b/tdeui/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) );