X-Git-Url: http://git.asbjorn.biz/?p=swftools.git;a=blobdiff_plain;f=lib%2Fgfxfont.c;fp=lib%2Fgfxfont.c;h=920796d21c124abfc89d6320865eac6dae0d13bd;hp=549e50d58931d3272f6d1c50bfaa9c703a5947a5;hb=d7367b3ec772ea163ebca6b7497639a0cb45c20c;hpb=5a4a20931aade60f0e99df0819fbd1c007a705da diff --git a/lib/gfxfont.c b/lib/gfxfont.c index 549e50d..920796d 100644 --- 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;