X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=lib%2Fexample%2Fglyphshape.c;h=d1e8d0176489e8048592c9a31c2b5690c7b65bd5;hb=879d0eec420fe0fd5ddcd56c8fe62b82a6744edd;hp=c7e16f665011ee778744e751cbf2668c050dd4df;hpb=8dff6be716a54621909a1285ee05558bd24fbace;p=swftools.git diff --git a/lib/example/glyphshape.c b/lib/example/glyphshape.c index c7e16f6..d1e8d01 100644 --- a/lib/example/glyphshape.c +++ b/lib/example/glyphshape.c @@ -157,7 +157,7 @@ int main(int argc, char ** argv) // swf_WriteCGI(&swf); - f = open("glyphshape.swf",O_RDWR|O_CREAT|O_TRUNC,0644); + f = open("glyphshape.swf",O_RDWR|O_CREAT|O_TRUNC|O_BINARY,0644); if FAILED(swf_WriteSWF(f,&swf)) fprintf(stderr,"WriteSWF() failed.\n"); close(f);