From 1450e6bbd2d56405dc90a6063635d80ca92e910e Mon Sep 17 00:00:00 2001 From: kramm Date: Tue, 22 Feb 2005 20:04:09 +0000 Subject: [PATCH] fixed png2swf -C bug. --- lib/rfxswf.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/rfxswf.c b/lib/rfxswf.c index 1950487..580a55d 100644 --- a/lib/rfxswf.c +++ b/lib/rfxswf.c @@ -668,7 +668,7 @@ int swf_SetMatrix(TAG * t,MATRIX * m) return 0; } -int swf_GetCXForm(TAG * t,CXFORM * cx,U8 alpha) //FIXME: alpha should be type bool +int swf_GetCXForm(TAG * t,CXFORM * cx,U8 alpha) { CXFORM cxf; int hasadd; int hasmul; @@ -1437,6 +1437,7 @@ int swf_WriteSWF(int handle, SWF * swf) // Writes SWF to file, returns leng if(handle<0) { writer_init_nullwriter(&writer); len = swf_WriteSWF2(&writer, swf); + return len; } writer_init_filewriter(&writer, handle); len = swf_WriteSWF2(&writer, swf); -- 1.7.10.4