$OpenBSD: patch-texmaker_cpp,v 1.7 2012/03/01 17:57:45 shadchin Exp $
--- texmaker.cpp.orig	Sat Feb 25 14:19:23 2012
+++ texmaker.cpp	Tue Feb 28 00:53:47 2012
@@ -4054,7 +4054,7 @@ QString dicDir=QCoreApplication::applicationDirPath() 
 #ifdef DEBIAN_SPELLDIR
 QString dicDir=PREFIX"/share/myspell/dicts/";
 #else
-QString dicDir=PREFIX"/share/texmaker/";
+QString dicDir=PREFIX"/share/hunspell/";
 #endif
 #endif
 
@@ -4067,7 +4067,7 @@ QString dicDir=QCoreApplication::applicationDirPath() 
 #endif
 QString defaultDic=dicDir+QString(QLocale::system().name())+".dic";
 QFileInfo fi(defaultDic);
-if (!fi.exists() || !fi.isReadable()) defaultDic=dicDir+"en_GB.dic";
+if (!fi.exists() || !fi.isReadable()) defaultDic=dicDir+"default.dic";
 spell_dic=config->value("Spell/Dic",defaultDic).toString();
 QFileInfo fispell(spell_dic);
 pdfCheckerLang=fispell.fileName().left(2);
