diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/abc/types/MethodInfo.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/abc/types/MethodInfo.java index bfa2d8310..bfd9400bf 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/abc/types/MethodInfo.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/abc/types/MethodInfo.java @@ -323,7 +323,9 @@ public class MethodInfo { } public GraphTextWriter getReturnTypeStr(GraphTextWriter writer, AVM2ConstantPool constants, List fullyQualifiedNames) { - return writer.hilightSpecial(ret_type == 0 ? "*" : constants.getMultiname(ret_type).getName(constants, fullyQualifiedNames, false), "returns"); + String rname = constants.getMultiname(ret_type).getName(constants, fullyQualifiedNames, true); + rname = IdentifiersDeobfuscation.printIdentifier(true,rname,"void"); + return writer.hilightSpecial(ret_type == 0 ? "*" : rname, "returns"); } public void setBody(MethodBody body) {