openbsd-ports/editors/texmaker/patches/patch-texmaker_cpp
shadchin 23455ea7ce Update to 3.1.
ok jasper@
2011-11-24 13:12:47 +00:00

22 lines
878 B
Plaintext

$OpenBSD: patch-texmaker_cpp,v 1.6 2011/11/24 13:12:47 shadchin Exp $
--- texmaker.cpp.orig Sat Jul 23 01:46:04 2011
+++ texmaker.cpp Tue Aug 16 20:10:33 2011
@@ -3590,7 +3590,7 @@ geometry_options=config->value("Quick/GeometryOptions"
#ifdef USB_VERSION
QString dicDir=QCoreApplication::applicationDirPath() + "/";
#else
-QString dicDir=PREFIX"/share/texmaker/";
+QString dicDir=PREFIX"/share/hunspell/";
#endif
#endif
@@ -3602,7 +3602,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();