From 5486f70e4081c1f5a40350805d1aa09ebef5bdac Mon Sep 17 00:00:00 2001 From: kramm Date: Sun, 9 Sep 2007 17:55:01 +0000 Subject: [PATCH] added more information in comments --- src/swfstrings.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/swfstrings.c b/src/swfstrings.c index 3a9338d..86d8aed 100644 --- a/src/swfstrings.c +++ b/src/swfstrings.c @@ -67,12 +67,14 @@ void fontcallback(void*self,U16 id,U8 * name) TAG* t; swf_FontExtract(&swf,id,&font); - printf("#< %s %s %s>\n",name,swf_FontIsBold(font)?"bold":"",swf_FontIsItalic(font)?"italic":""); + printf("#\n",id, name,swf_FontIsBold(font)?" bold":"",swf_FontIsItalic(font)?" italic":""); t = swf.firstTag; while (t) - { swf_TextPrintDefineText(t,font); + { + if(swf_isTextTag(t)) + swf_TextPrintDefineText(t,font); t = swf_NextTag(t); } -- 1.7.10.4