fixed bug in name display
authorkramm <kramm>
Sun, 23 Nov 2008 13:52:56 +0000 (13:52 +0000)
committerkramm <kramm>
Sun, 23 Nov 2008 13:52:56 +0000 (13:52 +0000)
lib/as3/abc.c

index e3a9858..c01ff61 100644 (file)
@@ -922,10 +922,11 @@ void* swf_DumpABC(FILE*fo, void*code, char*prefix)
 {
     abc_file_t* file = (abc_file_t*)code;
         
-    if(file->name)
+    if(file->name) {
         fprintf(fo, "%s#\n", prefix);
         fprintf(fo, "%s#name: %s\n", prefix, file->name);
         fprintf(fo, "%s#\n", prefix);
+    }
 
     int t;
     for(t=0;t<file->metadata->num;t++) {