r15836 by jghali - fix for making scimgdataloader_pgf.cpp compile on msvc

scribus-commit scribus-commit at lists.scribus.net
Wed Nov 10 01:07:06 CET 2010


Author: jghali
Date: Wed Nov 10 00:07:05 2010
New Revision: 15836

URL: http://scribus.info/websvn/listing.php?repname=Scribus&sc=1&rev=15836
Log:
fix for making scimgdataloader_pgf.cpp compile on msvc

Modified:
    trunk/Scribus/scribus/scimgdataloader_pgf.cpp

Modified: trunk/Scribus/scribus/scimgdataloader_pgf.cpp
URL: http://scribus.info/websvn/diff.php?repname=Scribus&rev=15836&path=/trunk/Scribus/scribus/scimgdataloader_pgf.cpp
==============================================================================
--- trunk/Scribus/scribus/scimgdataloader_pgf.cpp (original)
+++ trunk/Scribus/scribus/scimgdataloader_pgf.cpp Wed Nov 10 00:07:05 2010
@@ -195,7 +195,11 @@
 			}
 		}
 		pgfImg.Close();
+#ifdef WIN32
+		CloseHandle(fd);
+#else
 		close(fd);
+#endif
 		m_imageInfoRecord.type = ImageTypeOther;
 		m_imageInfoRecord.exifDataValid = false;
 		float xres = m_image.dotsPerMeterX() * 0.0254;




More information about the scribus-commit mailing list