fixed swfextract -F segfault error
authorkramm <kramm>
Thu, 8 Apr 2004 20:01:16 +0000 (20:01 +0000)
committerkramm <kramm>
Thu, 8 Apr 2004 20:01:16 +0000 (20:01 +0000)
lib/modules/swftext.c

index 8d61e04..55fe659 100644 (file)
@@ -896,7 +896,7 @@ void swf_WriteFont(SWFFONT*font, char* filename)
     swf_FontSetDefine2(t,font);
   }
 
-  if(storeGlyphNames)
+  if(storeGlyphNames && font->glyphnames)
   {
     int c;
     t = swf_InsertTag(t,ST_GLYPHNAMES);