git.asbjorn.biz
/
swftools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
flex and bison now have different prefixes
[swftools.git]
/
lib
/
example
/
text.c
diff --git
a/lib/example/text.c
b/lib/example/text.c
index
6bfe13a
..
d684c0e
100644
(file)
--- a/
lib/example/text.c
+++ b/
lib/example/text.c
@@
-142,7
+142,7
@@
int main(int argc, char ** argv)
// swf_WriteCGI(&swf);
- f = open("text.swf",O_RDWR|O_CREAT|O_TRUNC,0644);
+ f = open("text.swf",O_RDWR|O_CREAT|O_TRUNC|O_BINARY,0644);
if FAILED(swf_WriteSWF(f,&swf)) fprintf(stderr,"WriteSWF() failed.\n");
close(f);