From f5c49841296c5533b500fc89b010f5529b1b9824 Mon Sep 17 00:00:00 2001 From: kramm Date: Fri, 22 Mar 2002 18:11:25 +0000 Subject: [PATCH] fixed bug in hex output routine --- src/swfdump.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"); -- 1.7.10.4