git.asbjorn.biz
/
swftools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fixed some compiler warnings
[swftools.git]
/
lib
/
gfxfont.c
diff --git
a/lib/gfxfont.c
b/lib/gfxfont.c
index
549e50d
..
920796d
100644
(file)
--- a/
lib/gfxfont.c
+++ b/
lib/gfxfont.c
@@
-395,7
+395,7
@@
gfxfont_t* gfxfont_load(const char*id, const char*filename, unsigned int flags,
}
l = l->next;
}
- if(!ok && !name) {
+ if(!ok && !hasname) {
gfxline_free(font->glyphs[font->num_glyphs].line);
font->glyphs[font->num_glyphs].line = 0;
font->glyphs[font->num_glyphs].advance = 0;