SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
21
editors/texmaker/patches/patch-texmaker_cpp
Normal file
21
editors/texmaker/patches/patch-texmaker_cpp
Normal file
|
@ -0,0 +1,21 @@
|
|||
Index: texmaker.cpp
|
||||
--- texmaker.cpp.orig
|
||||
+++ texmaker.cpp
|
||||
@@ -4670,7 +4670,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
|
||||
|
||||
@@ -4683,7 +4683,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);
|
Loading…
Add table
Add a link
Reference in a new issue