From: kramm Date: Fri, 22 Mar 2002 18:11:25 +0000 (+0000) Subject: fixed bug in hex output routine X-Git-Tag: xpdf-0-92~53 X-Git-Url: http://git.asbjorn.biz/?p=swftools.git;a=commitdiff_plain;h=f5c49841296c5533b500fc89b010f5529b1b9824 fixed bug in hex output routine --- diff --git a/src/swfdump.c b/src/swfdump.c index 572e890..616dbbf 100644 --- a/src/swfdump.c +++ b/src/swfdump.c @@ -624,7 +624,7 @@ int main (int argc,char ** argv) printf(" %s-=> ",prefix); for(t=0;tlen;t++) { printf("%02x ", tag->data[t]); - if((t && !(t&15)) || (t==tag->len-1)) + if((t && ((t&15)==15)) || (t==tag->len-1)) { if(t==tag->len-1) printf("\n");