summaryrefslogtreecommitdiffstats
path: root/tdeui
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:30:24 +0200
commitd8091396166f7ffd9020a78ffd9669587655f82c (patch)
tree72eb2c0e03399d7e4a11201965d2651b606f1119 /tdeui
parentb71166c66ac55345899a6998d57cc13ab3d93720 (diff)
downloadtdelibs-d8091396166f7ffd9020a78ffd9669587655f82c.tar.gz
tdelibs-d8091396166f7ffd9020a78ffd9669587655f82c.zip
Fix several issues on freebsd
Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit e469e42c76000b70aebaf838f5a3c4ded184b0e3)
Diffstat (limited to 'tdeui')
-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) );