git.asbjorn.biz
/
swftools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ac58a40
)
added missing O_BINARY to open().
author
kramm
<kramm>
Wed, 22 Sep 2004 11:43:20 +0000
(11:43 +0000)
committer
kramm
<kramm>
Wed, 22 Sep 2004 11:43:20 +0000
(11:43 +0000)
src/swfc.c
patch
|
blob
|
history
diff --git
a/src/swfc.c
b/src/swfc.c
index
e15f5a6
..
cb7aaff
100644
(file)
--- a/
src/swfc.c
+++ b/
src/swfc.c
@@
-1231,7
+1231,7
@@
void s_includeswf(char*name, char*filename)
TAG* s;
int level = 0;
U16 cutout[] = {ST_SETBACKGROUNDCOLOR, ST_PROTECT, ST_FREEALL, ST_REFLEX};
- f = open(filename,O_RDONLY);
+ f = open(filename,O_RDONLY|O_BINARY);
if (f<0) {
warning("Couldn't open file \"%s\": %s", filename, strerror(errno));
s_box(name, 0, 0, black, 20, 0);