blob: 3107211185e8af07d0f3445b57f2b382cc05db0e [file] [log] [blame] [edit]
--- libgdiplus-5.4/src/font-orig.c 2017-11-10 16:14:00.016493100 -0500
+++ libgdiplus-5.4/src/font.c 2017-11-10 16:14:07.296425300 -0500
@@ -1078,12 +1078,8 @@
if (!memory)
return InvalidParameter;
-#ifdef WIN32
- f = CreateTempFile (fontfile);
-#else
strcpy((char *) fontfile, "/tmp/ffXXXXXX");
f = mkstemp((char*)fontfile);
-#endif
if (f == -1)
return FileNotFound;