From 9bd6c85fbfc6ff3ac2dfaf05340a3954f2a6c15f Mon Sep 17 00:00:00 2001
From: kramm <kramm>
Date: Sat, 13 Jan 2007 17:25:59 +0000
Subject: [PATCH] added flash 8 fill styles

---
 src/swfdump.c |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/swfdump.c b/src/swfdump.c
index 3257059..4bb5284 100644
--- a/src/swfdump.c
+++ b/src/swfdump.c
@@ -600,14 +600,14 @@ char* fillstyle2str(FILLSTYLE*style)
 	case 0x10: case 0x12:
 	    sprintf(stylebuf, "GRADIENT (%d steps)", style->gradient.num);
 	    break;
-	case 0x40: 
+	case 0x40: case 0x42:
 	    /* TODO: display information about that bitmap */
-	    sprintf(stylebuf, "BITMAPt %d", style->id_bitmap);
+	    sprintf(stylebuf, "BITMAPt%s %d", (style->type&2)?"n":"", style->id_bitmap);
 	    /* TODO: show matrix */
 	    break;
-	case 0x41:
+	case 0x41: case 0x43:
 	    /* TODO: display information about that bitmap */
-	    sprintf(stylebuf, "BITMAPc %d", style->id_bitmap);
+	    sprintf(stylebuf, "BITMAPc%s %d", (style->type&2)?"n":"", style->id_bitmap);
 	    /* TODO: show matrix */
 	    break;
 	default:
-- 
1.7.10.4