From 54954700c7053827b34aaed48a5cd8982288c528 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jindra=20Pet=C5=99=C3=ADk?= Date: Tue, 23 Nov 2021 19:46:34 +0100 Subject: [PATCH] Fixed AS1/2 - call action parameters as string --- CHANGELOG.md | 1 + .../com/jpexs/decompiler/flash/action/model/CallActionItem.java | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0b6df5e85..b1caf45ac 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,7 @@ All notable changes to this project will be documented in this file. ## [Unreleased] ### Fixed - AS1/2 - switch with getvariable decompilation +- AS1/2 - call action parameters as string ## [14.6.0] - 2021-11-22 ### Added diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/action/model/CallActionItem.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/action/model/CallActionItem.java index d468cf648..4aa5dde81 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/action/model/CallActionItem.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/action/model/CallActionItem.java @@ -43,7 +43,7 @@ public class CallActionItem extends ActionItem { writer.append("call"); writer.spaceBeforeCallParenthesies(1); writer.append("("); - stripQuotes(value, localData, writer); + value.appendTo(writer, localData); return writer.append(")"); }