patch-texmaker_cpp 876 B

12345678910111213141516171819202122
  1. $OpenBSD: patch-texmaker_cpp,v 1.16 2015/11/14 15:24:44 shadchin Exp $
  2. --- texmaker.cpp.orig Wed Oct 28 20:11:56 2015
  3. +++ texmaker.cpp Sat Nov 7 20:01:28 2015
  4. @@ -4692,7 +4692,7 @@ QString dicDir=QCoreApplication::applicationDirPath()
  5. #ifdef DEBIAN_SPELLDIR
  6. QString dicDir=PREFIX"/share/myspell/dicts/";
  7. #else
  8. -QString dicDir=PREFIX"/share/texmaker/";
  9. +QString dicDir=PREFIX"/share/hunspell/";
  10. #endif
  11. #endif
  12. @@ -4705,7 +4705,7 @@ QString dicDir=QCoreApplication::applicationDirPath()
  13. #endif
  14. QString defaultDic=dicDir+QString(QLocale::system().name())+".dic";
  15. QFileInfo fi(defaultDic);
  16. -if (!fi.exists() || !fi.isReadable()) defaultDic=dicDir+"en_GB.dic";
  17. +if (!fi.exists() || !fi.isReadable()) defaultDic=dicDir+"default.dic";
  18. spell_dic=config->value("Spell/Dic",defaultDic).toString();
  19. QFileInfo fispell(spell_dic);
  20. pdfCheckerLang=fispell.fileName().left(2);