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:
4e23867
)
On *nix, png2swf couldn't find 'foo.Png' if command line was given as
author
dseg
<dseg>
Thu, 10 Feb 2005 01:06:01 +0000
(
01:06
+0000)
committer
dseg
<dseg>
Thu, 10 Feb 2005 01:06:01 +0000
(
01:06
+0000)
'png2swf foo'.
Fixed.
src/png2swf.c
patch
|
blob
|
history
diff --git
a/src/png2swf.c
b/src/png2swf.c
index
91cfb32
..
6cf4189
100644
(file)
--- a/
src/png2swf.c
+++ b/
src/png2swf.c
@@
-746,9
+746,10
@@
int CheckInputFile(char *fname, char **realname)
sprintf(s, "%s.PNG", fname);
if ((fi = fopen(s, "rb")) == NULL) {
sprintf(s, "%s.Png", fname);
- if ((fi = fopen(s, "rb")) == NULL)
+ if ((fi = fopen(s, "rb")) == NULL) {
fprintf(stderr, "Couldn't open %s!\n", fname);
return -1;
+ }
}
}
}