svnno****@sourc*****
svnno****@sourc*****
2011年 4月 7日 (木) 21:57:08 JST
Revision: 545 http://sourceforge.jp/projects/swfed/svn/view?view=rev&revision=545 Author: yoya Date: 2011-04-07 21:57:08 +0900 (Thu, 07 Apr 2011) Log Message: ----------- インデント修正 Modified Paths: -------------- trunk/src/swf_tag_shape.c -------------- next part -------------- Modified: trunk/src/swf_tag_shape.c =================================================================== --- trunk/src/swf_tag_shape.c 2011-04-07 12:51:48 UTC (rev 544) +++ trunk/src/swf_tag_shape.c 2011-04-07 12:57:08 UTC (rev 545) @@ -98,11 +98,11 @@ } if (swf_tag_shape->is_morph) { ret = swf_rect_parse(bs, &(swf_tag_shape->stroke_rect_morph)); - if (ret) { - fprintf(stderr, "ERROR: swf_tag_shape_input_detail: swf_tag_shape->stroke_rect_morph parse failed. shape_id=%d\n", swf_tag_shape->shape_id); - bitstream_close(bs); - return ret; - } + if (ret) { + fprintf(stderr, "ERROR: swf_tag_shape_input_detail: swf_tag_shape->stroke_rect_morph parse failed. shape_id=%d\n", swf_tag_shape->shape_id); + bitstream_close(bs); + return ret; + } } swf_tag_shape->define_shape_reserved = bitstream_getbits(bs, 6); swf_tag_shape->define_shape_non_scaling_strokes = bitstream_getbits(bs, 1); @@ -121,10 +121,10 @@ if (ret) { fprintf(stderr, "ERROR: swf_tag_shape_input_detail: swf_shape_with_style_parse swf_tag_shape->shape_with_style failed. shape_id=%d\n", swf_tag_shape->shape_id); bitstream_close(bs); - return ret; + return ret; } } - + bitstream_close(bs); return 0; }