Commit 73c67d96 authored by Michael Schumacher's avatar Michael Schumacher 🦄

plug-ins: use g_fopen(filename, "w+b") instead of "wb+" to fix SGI format...

plug-ins: use g_fopen(filename, "w+b") instead of "wb+" to fix SGI format export on the Microsoft Windows platforms

(cherry picked from commit c93727e7)
parent 32993ab1
......@@ -260,7 +260,7 @@ sgiOpen(const char *filename, /* I - File to open */
if (mode == SGI_READ)
file = g_fopen(filename, "rb");
else
file = g_fopen(filename, "wb+");
file = g_fopen(filename, "w+b");
if (file == NULL)
return (NULL);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment