r19802 by craig - Fix path typo for hyph dir name

scribus-commit scribus-commit at lists.scribus.net
Sun Feb 8 08:04:51 UTC 2015


Author: craig
Date: Sun Feb  8 08:04:51 2015
New Revision: 19802

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=19802
Log:
Fix path typo for hyph dir name

Modified:
    trunk/Scribus/scribus/hyphenator.cpp
    trunk/Scribus/scribus/langmgr.cpp

Modified: trunk/Scribus/scribus/hyphenator.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=19802&path=/trunk/Scribus/scribus/hyphenator.cpp
==============================================================================
--- trunk/Scribus/scribus/hyphenator.cpp (original)
+++ trunk/Scribus/scribus/hyphenator.cpp Sun Feb  8 08:04:51 2015
@@ -65,8 +65,8 @@
 	if (f.open(QIODevice::ReadOnly))
 	{
 		QTextStream st(&f);
-    	QString line;
-    	line = st.readLine();
+		QString line;
+		line = st.readLine();
 		m_codec = QTextCodec::codecForName(line.toUtf8());
 		f.close();
 	}

Modified: trunk/Scribus/scribus/langmgr.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=19802&path=/trunk/Scribus/scribus/langmgr.cpp
==============================================================================
--- trunk/Scribus/scribus/langmgr.cpp (original)
+++ trunk/Scribus/scribus/langmgr.cpp Sun Feb  8 08:04:51 2015
@@ -196,7 +196,7 @@
 	//Build our list of hyphenation dictionaries we have in the install dir
 	//Grab the language abbreviation from it, get the full language text
 	//Insert the name as key and a new string list into the map
-	QString hyphDirName = QDir::toNativeSeparators(ScPaths::instance().dictDir()+"/hyph");
+	QString hyphDirName = QDir::toNativeSeparators(ScPaths::instance().dictDir()+"hyph/");
 	QDir hyphDir(hyphDirName, "hyph*.dic", QDir::Name, QDir::Files | QDir::NoSymLinks);
 	if (!hyphDir.exists() || hyphDir.count() == 0)
 	{




More information about the scribus-commit mailing list