return type fix

This commit is contained in:
Jindra Petřík
2014-11-05 06:19:46 +01:00
parent cdaa2a9729
commit e19562fefd

View File

@@ -325,8 +325,7 @@ public class MethodInfo {
public GraphTextWriter getReturnTypeStr(GraphTextWriter writer, AVM2ConstantPool constants, List<String> 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");
}