From ca7b18586e9fac43d99d061602fb199e7f230f4c Mon Sep 17 00:00:00 2001 From: kramm Date: Sun, 30 Mar 2003 15:11:58 +0000 Subject: [PATCH] win32 fixes --- src/png2swf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/png2swf.c b/src/png2swf.c index 578edfd..2e526d7 100644 --- a/src/png2swf.c +++ b/src/png2swf.c @@ -66,7 +66,7 @@ int MovieFinish(SWF * swf, TAG * t, char *sname) else { if (!sname) sname = "output.swf"; - handle = open(sname, O_RDWR | O_CREAT | O_TRUNC, 0666); + handle = open(sname, O_BINARY | O_RDWR | O_CREAT | O_TRUNC, 0666); } if FAILED (swf_WriteSWF(handle, swf)) if (VERBOSE(1)) -- 1.7.10.4