git.asbjorn.biz
/
swftools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added avifile_initialized flag.
[swftools.git]
/
pdf2swf
/
ttf2pt1
/
bdf.c
diff --git
a/pdf2swf/ttf2pt1/bdf.c
b/pdf2swf/ttf2pt1/bdf.c
index
9f6c727
..
cc580ec
100644
(file)
--- a/
pdf2swf/ttf2pt1/bdf.c
+++ b/
pdf2swf/ttf2pt1/bdf.c
@@
-428,7
+428,7
@@
openfont(
struct line *cl;
int i, l;
struct line *cl;
int i, l;
- if ((bdf_file = fopen(fname, "r")) == NULL) {
+ if ((bdf_file = fopen(fname, "rb")) == NULL) {
fprintf(stderr, "**** Cannot open file '%s'\n", fname);
exit(1);
} else {
fprintf(stderr, "**** Cannot open file '%s'\n", fname);
exit(1);
} else {