summaryrefslogtreecommitdiffstats
path: root/graphics/flasm/files/patch-unflasm.c
blob: 313fcbf9598386dd30e42df37d8eca8c33f3ac59 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
--- unflasm.c.orig	Thu Nov 22 05:59:32 2001
+++ unflasm.c	Tue Jan 22 10:28:58 2002
@@ -485,15 +485,7 @@
       println("setVariable");
       break;
     case SWFACTION_SETTARGETEXPRESSION:
-      if (targetIndent==1)
-      {
-        --indent;
-        println("end");
-        targetIndent = 0;
-      }
       println("setTargetExpr");
-      ++indent;
-      targetIndent = 1;
       break;
     case SWFACTION_STRINGCONCAT:
       println("concat");
@@ -1008,18 +1000,7 @@
 
     case SWFACTION_SETTARGET:
     {
-      if (targetIndent==1)
-      {
-        --indent;
-        println("end");
-        targetIndent = 0;
-      }
-      if (strlen(p)>0)
-      {
-        println("setTarget '%s'", p);
-        ++indent;
-        targetIndent = 1;
-      }
+      println("setTarget '%s'", p);
       break;
     }
 
@@ -1338,15 +1319,7 @@
   if ((mode >= MODE_UPDATE) && (constend>0))
     rebuildConstantPool();
 
-  if (targetIndent==1)
-  {
-    --indent;
-    println("end");
-    targetIndent = 0;
-  }
-
   --indent;
-
   if (frameNum!=-1) println("end // of frame %i",frameNum);
   free(buffer);
 }
OpenPOWER on IntegriCloud