r17157 by fschmid - Fixed Bug #10469: "Vector graphic file is locked after import"
scribus-commit
scribus-commit at lists.scribus.net
Sat Dec 31 11:11:07 UTC 2011
Author: fschmid
Date: Sat Dec 31 11:11:07 2011
New Revision: 17157
URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=17157
Log:
Fixed Bug #10469: "Vector graphic file is locked after import"
Modified:
trunk/Scribus/scribus/fileunzip.cpp
Modified: trunk/Scribus/scribus/fileunzip.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=17157&path=/trunk/Scribus/scribus/fileunzip.cpp
==============================================================================
--- trunk/Scribus/scribus/fileunzip.cpp (original)
+++ trunk/Scribus/scribus/fileunzip.cpp Sat Dec 31 11:11:07 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