From e19562fefd24d9a850f96da4df0e24dc70d1b245 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jindra=20Pet=C5=99=C3=ADk?= Date: Wed, 5 Nov 2014 06:19:46 +0100 Subject: [PATCH] return type fix --- .../src/com/jpexs/decompiler/flash/abc/types/MethodInfo.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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 dfa4dc4fc..099e8ba6f 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 @@ -325,8 +325,7 @@ public class MethodInfo { public GraphTextWriter getReturnTypeStr(GraphTextWriter writer, AVM2ConstantPool constants, List fullyQualifiedNames) { String rname = "*"; if(ret_type>0){ - constants.getMultiname(ret_type).getName(constants, fullyQualifiedNames, true); - rname = IdentifiersDeobfuscation.printIdentifier(true,rname,"void"); + rname = IdentifiersDeobfuscation.printIdentifier(true,constants.getMultiname(ret_type).getName(constants, fullyQualifiedNames, true),"void"); } return writer.hilightSpecial(rname, "returns"); }