openbsd-ports/editors/texmaker/patches/patch-texmaker_cpp
shadchin df014f6bb5 Update to 3.3.4.
ok edd@
2012-05-30 18:48:59 +00:00

22 lines
875 B
Plaintext

$OpenBSD: patch-texmaker_cpp,v 1.8 2012/05/30 18:48:59 shadchin Exp $
--- texmaker.cpp.orig Wed May 23 20:09:18 2012
+++ texmaker.cpp Fri May 25 23:10:35 2012
@@ -4146,7 +4146,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
@@ -4159,7 +4159,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);