r17158 by fschmid - Fixed Bug #10469: "Vector graphic file is locked after import"

scribus-commit scribus-commit at lists.scribus.net
Sat Dec 31 11:16:29 UTC 2011


Author: fschmid
Date: Sat Dec 31 11:16:29 2011
New Revision: 17158

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=17158
Log:
Fixed Bug #10469: "Vector graphic file is locked after import"

Modified:
    branches/Version135/Scribus/scribus/fileunzip.cpp

Modified: branches/Version135/Scribus/scribus/fileunzip.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=17158&path=/branches/Version135/Scribus/scribus/fileunzip.cpp
==============================================================================
--- branches/Version135/Scribus/scribus/fileunzip.cpp (original)
+++ branches/Version135/Scribus/scribus/fileunzip.cpp Sat Dec 31 11:16:29 2011
@@ -94,7 +94,7 @@
 	QDir::setCurrent(outDir);
 	unzFile uf = unzOpenFile(zipFile);
 	int ret = do_extract_onefile(uf,name, 0, 1, NULL);
-	unzCloseCurrentFile(uf);
+	unzClose(uf);
 	QDir::setCurrent(pwd);
 	if (ret != 0)
 		return NULL;




More information about the scribus-commit mailing list