svnno****@sourc*****
svnno****@sourc*****
2009年 8月 28日 (金) 01:59:53 JST
Revision: 181 http://sourceforge.jp/projects/swfed/svn/view?view=rev&revision=181 Author: yoya Date: 2009-08-28 01:59:53 +0900 (Fri, 28 Aug 2009) Log Message: ----------- print の第一引数 line_style の NULL チェックを入れた Modified Paths: -------------- trunk/src/swf_line_style.c -------------- next part -------------- Modified: trunk/src/swf_line_style.c =================================================================== --- trunk/src/swf_line_style.c 2009-08-27 16:46:00 UTC (rev 180) +++ trunk/src/swf_line_style.c 2009-08-27 16:59:53 UTC (rev 181) @@ -108,6 +108,10 @@ int swf_line_style_print(swf_line_style_t *line_style, int indent_depth, swf_tag_t *tag) { + if (line_style == NULL) { + fprintf(stderr, "swf_line_style_print: line_style == NULL\n"); + return 1; + } if (tag->tag == 46) { // DefineMorphShape print_indent(indent_depth); printf("width=%d width_morph=%d\n",