From: kramm <kramm>
Date: Sun, 4 Nov 2001 18:13:45 +0000 (+0000)
Subject: display warnings if the files have no 'FWS' header
X-Git-Tag: release-0-1-1~10
X-Git-Url: http://git.asbjorn.it/?a=commitdiff_plain;h=efe9cc12012cb4711840cbb7aa053dd28bd2ebff;p=swftools.git

display warnings if the files have no 'FWS' header
---

diff --git a/src/combine.c b/src/combine.c
index 10b8efc..727f858 100644
--- a/src/combine.c
+++ b/src/combine.c
@@ -358,6 +358,9 @@ uchar * combine(uchar*masterdata, int masterlength, char*_slavename, uchar*slave
 	logf("<notice> the master file is flash (swf) format\n");
 	master_flash = 1;
     }
+    else
+	logf("<notice> the master file is not flash (swf) format!\n");
+
     if(slavedata[2] == 'S' &&
        slavedata[1] == 'W' &&
        slavedata[0] == 'F')
@@ -365,6 +368,8 @@ uchar * combine(uchar*masterdata, int masterlength, char*_slavename, uchar*slave
 	logf("<notice> the slave file is flash (swf) format\n");
 	slave_flash = 1;
     }
+    else
+	logf("<notice> the slave file is not flash (swf) format!\n");
 
     if(master_flash && slave_flash)
     {