[Swfed-svn] swfed-svn [170] swf_line_style_parse でエラーが発生した時に、エラーメッセージを出力する処理を追加

Back to archive index

svnno****@sourc***** svnno****@sourc*****
2009年 7月 2日 (木) 00:32:26 JST


Revision: 170
          http://sourceforge.jp/projects/swfed/svn/view?view=rev&revision=170
Author:   yoya
Date:     2009-07-02 00:32:26 +0900 (Thu, 02 Jul 2009)

Log Message:
-----------
swf_line_style_parse でエラーが発生した時に、エラーメッセージを出力する処理を追加

Modified Paths:
--------------
    trunk/src/swf_line_style_array.c


-------------- next part --------------
Modified: trunk/src/swf_line_style_array.c
===================================================================
--- trunk/src/swf_line_style_array.c	2009-07-01 15:31:31 UTC (rev 169)
+++ trunk/src/swf_line_style_array.c	2009-07-01 15:32:26 UTC (rev 170)
@@ -33,6 +33,8 @@
     for (i = 0 ; i < shape_with_style->count ; i++) {
         result = swf_line_style_parse(bs, &(shape_with_style->line_style[i]), tag);
         if (result) {
+            fprintf(stderr, "swf_line_style_array_parse: swf_line_style_parse failed shape_with_style->count %d => %d\n",
+                    shape_with_style->count, i);
             shape_with_style->count = i; // XXX
             return result;
         }



Swfed-svn メーリングリストの案内
Back to archive index