12345678910111213141516171819202122 |
- $OpenBSD: patch-texmaker_cpp,v 1.16 2015/11/14 15:24:44 shadchin Exp $
- --- texmaker.cpp.orig Wed Oct 28 20:11:56 2015
- +++ texmaker.cpp Sat Nov 7 20:01:28 2015
- @@ -4692,7 +4692,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
-
- @@ -4705,7 +4705,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);
|