r17853 by jghali - #11151 related : fix hyphenator crash
scribus-commit
scribus-commit at lists.scribus.net
Mon Nov 5 20:56:24 UTC 2012
Author: jghali
Date: Mon Nov 5 20:56:24 2012
New Revision: 17853
URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=17853
Log:
#11151 related : fix hyphenator crash
Modified:
trunk/Scribus/scribus/hyphenator.cpp
Modified: trunk/Scribus/scribus/hyphenator.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=17853&path=/trunk/Scribus/scribus/hyphenator.cpp
==============================================================================
--- trunk/Scribus/scribus/hyphenator.cpp (original)
+++ trunk/Scribus/scribus/hyphenator.cpp Mon Nov 5 20:56:24 2012
@@ -105,12 +105,11 @@
Language = name;
char *filename = NULL;
- QString pfad = ScPaths::instance().dictDir();
+ QString pfad = LanguageManager::instance()->getHyphFilename(Language);
if (hdict != NULL)
hnj_hyphen_free(hdict);
- pfad += LanguageManager::instance()->getHyphFilename(Language) ;
QFile f(pfad);
if (f.open(QIODevice::ReadOnly))
{
More information about the scribus-commit
mailing list