Fix ActionEnumerate2 - Null should be considered part of EnumerateActionItem, no need to push it on the stack

This commit is contained in:
Jackkal
2015-03-26 21:31:01 +01:00
parent 0cccf289a9
commit 8cbd08227c

View File

@@ -12,7 +12,8 @@
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library.
* License along with this library.
*/
package com.jpexs.decompiler.flash.action.swf6;
import com.jpexs.decompiler.flash.action.Action;
@@ -39,7 +40,6 @@ public class ActionEnumerate2 extends Action {
@Override
public void translate(TranslateStack stack, List<GraphTargetItem> output, HashMap<Integer, String> regNames, HashMap<String, GraphTargetItem> variables, HashMap<String, GraphTargetItem> functions, int staticOperation, String path) {
GraphTargetItem object = stack.pop();
GraphTargetItem object = stack.pop();
stack.push(new EnumerateActionItem(this, object));
}
}