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 missing semicolon
[swftools.git]
/
lib
/
modules
/
swftext.c
diff --git
a/lib/modules/swftext.c
b/lib/modules/swftext.c
index
b6579d7
..
d7c0470
100644
(file)
--- a/
lib/modules/swftext.c
+++ b/
lib/modules/swftext.c
@@
-684,7
+684,7
@@
int swf_FontReduce_swfc(SWFFONT * f)
}
f->use->used_glyphs = j;
for (i = 0; i < f->maxascii; i++) {
}
f->use->used_glyphs = j;
for (i = 0; i < f->maxascii; i++) {
- if(f->ascii2glyph[i] > -1)
+ if(f->ascii2glyph[i] > -1) {
if (f->use->chars[f->ascii2glyph[i]]<0) {
f->use->chars[f->ascii2glyph[i]] = 0;
f->ascii2glyph[i] = -1;
if (f->use->chars[f->ascii2glyph[i]]<0) {
f->use->chars[f->ascii2glyph[i]] = 0;
f->ascii2glyph[i] = -1;
@@
-693,6
+693,7
@@
int swf_FontReduce_swfc(SWFFONT * f)
f->use->chars[f->ascii2glyph[i]] = 1;
max_unicode = i + 1;
}
f->use->chars[f->ascii2glyph[i]] = 1;
max_unicode = i + 1;
}
+ }
}
f->maxascii = max_unicode;
f->use->is_reduced = 1;
}
f->maxascii = max_unicode;
f->use->is_reduced = 1;