[Swfed-svn] swfed-svn [541] print の表示を改良

Zurück zum Archiv-Index

svnno****@sourc***** svnno****@sourc*****
2011年 4月 7日 (木) 21:41:09 JST


Revision: 541
          http://sourceforge.jp/projects/swfed/svn/view?view=rev&revision=541
Author:   yoya
Date:     2011-04-07 21:41:09 +0900 (Thu, 07 Apr 2011)

Log Message:
-----------
print の表示を改良

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


-------------- next part --------------
Modified: trunk/src/swf_morph_shape_with_style.c
===================================================================
--- trunk/src/swf_morph_shape_with_style.c	2011-04-07 12:35:07 UTC (rev 540)
+++ trunk/src/swf_morph_shape_with_style.c	2011-04-07 12:41:09 UTC (rev 541)
@@ -42,13 +42,18 @@
 swf_morph_shape_with_style_print(swf_morph_shape_with_style_t *morph_shape_with_style,
                                  int indent_depth,
                                  swf_tag_t *tag) {
-    swf_styles_print(&(morph_shape_with_style->styles), indent_depth, tag);
+    swf_styles_print(&(morph_shape_with_style->styles), indent_depth + 1, tag);
+    print_indent(indent_depth);
+    printf("shape_records:\n");
     swf_shape_record_print(&(morph_shape_with_style->shape_records),
-                           indent_depth, tag);
+                           indent_depth + 1, tag);
     swf_styles_count_print(&(morph_shape_with_style->styles_count),
-                           indent_depth);
+                           indent_depth + 1);
+    print_indent(indent_depth);
+    printf("shape_records_morph:\n");
+    
     swf_shape_record_print(&(morph_shape_with_style->shape_records_morph),
-                           indent_depth, tag);
+                           indent_depth + 1, tag);
     return 0;
 }
 



Swfed-svn メーリングリストの案内
Zurück zum Archiv-Index