r22404 by jghali -

scribus-commit scribus-commit at lists.scribus.net
Thu Feb 22 12:22:58 UTC 2018


Author: jghali
Date: Thu Feb 22 12:22:58 2018
New Revision: 22404

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=22404
Log:
fix error preventing decompression if AI compressed data in Illustrator files

Modified:
    trunk/Scribus/scribus/plugins/import/ai/importai.cpp

Modified: trunk/Scribus/scribus/plugins/import/ai/importai.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=22404&path=/trunk/Scribus/scribus/plugins/import/ai/importai.cpp
==============================================================================
--- trunk/Scribus/scribus/plugins/import/ai/importai.cpp	(original)
+++ trunk/Scribus/scribus/plugins/import/ai/importai.cpp	Thu Feb 22 12:22:58 2018
@@ -725,7 +725,7 @@
 	source = fopen(fName.toLocal8Bit().constData(), "rb");
 	if (!source)
 		return false;
-	if(!fseek(source, 20, SEEK_SET))
+	if (fseek(source, 20, SEEK_SET) != 0)
 	{
 		fclose(source);
 		return false;




More information about the scribus-commit mailing list