mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-07-03 11:04:20 +00:00
Issue #398 AS3 p-code: fixed values with index 0 (null)
This commit is contained in:
@@ -810,9 +810,13 @@ public class AVM2Code implements Serializable {
|
||||
if (info.flagHas_paramnames()) {
|
||||
for (int n : info.paramNames) {
|
||||
ret.append("paramname ");
|
||||
ret.append("\"");
|
||||
ret.append(constants.constant_string[n]);
|
||||
ret.append("\"");
|
||||
if (n == 0) {
|
||||
ret.append("null");
|
||||
} else {
|
||||
ret.append("\"");
|
||||
ret.append(constants.constant_string[n]);
|
||||
ret.append("\"");
|
||||
}
|
||||
ret.append("\n");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user