fixed bug in hex output routine
authorkramm <kramm>
Fri, 22 Mar 2002 18:11:25 +0000 (18:11 +0000)
committerkramm <kramm>
Fri, 22 Mar 2002 18:11:25 +0000 (18:11 +0000)
src/swfdump.c

index 572e890..616dbbf 100644 (file)
@@ -624,7 +624,7 @@ int main (int argc,char ** argv)
            printf("                %s-=> ",prefix);
            for(t=0;t<tag->len;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");