$OpenBSD: patch-texmaker_cpp,v 1.5 2011/04/28 17:06:11 shadchin Exp $
--- texmaker.cpp.orig	Mon Apr 25 19:12:44 2011
+++ texmaker.cpp	Thu Apr 28 22:00:03 2011
@@ -3474,7 +3474,7 @@ author=config->value("Quick/Author","").toString();
 #ifdef USB_VERSION
 QString dicDir=QCoreApplication::applicationDirPath() + "/";
 #else
-QString dicDir=PREFIX"/share/texmaker/";
+QString dicDir=PREFIX"/share/hunspell/";
 #endif
 
 #endif
@@ -3486,7 +3486,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();
 
 spell_ignored_words=config->value("Spell/Words","").toString();
