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:
5218d44
)
SOUNDINFO.multiple is called nomultiple now.
author
kramm
<kramm>
Fri, 4 Apr 2003 16:47:34 +0000
(16:47 +0000)
committer
kramm
<kramm>
Fri, 4 Apr 2003 16:47:34 +0000
(16:47 +0000)
src/swfc.c
patch
|
blob
|
history
diff --git
a/src/swfc.c
b/src/swfc.c
index
25e047d
..
f4d07ae
100644
(file)
--- a/
src/swfc.c
+++ b/
src/swfc.c
@@
-441,7
+441,7
@@
static void s_endSWF()
swf->movieSize.ymax += 20;
}
swf->movieSize.ymax += 20;
}
- fi = open(filename, O_WRONLY|O_CREAT|O_TRUNC, 0644);
+ fi = open(filename, O_WRONLY|O_CREAT|O_TRUNC|O_BINARY, 0644);
if(fi<0) {
syntaxerror("couldn't create output file %s", filename);
}
if(fi<0) {
syntaxerror("couldn't create output file %s", filename);
}
@@
-712,7
+712,7
@@
void s_playsound(char*name, int loops, int nomultiple, int stop)
memset(&info, 0, sizeof(info));
info.stop = stop;
info.loops = loops;
memset(&info, 0, sizeof(info));
info.stop = stop;
info.loops = loops;
- info.multiple = !nomultiple;
+ info.nomultiple = nomultiple;
swf_SetSoundInfo(tag, &info);
}
swf_SetSoundInfo(tag, &info);
}