mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-22 01:25:36 +00:00
Fixed: AS1/2 Obfuscated registers names not resolving because of trimming
This commit is contained in:
@@ -11,6 +11,7 @@ All notable changes to this project will be documented in this file.
|
||||
- [#2474] Gotos incorrectly decompiled
|
||||
- AS1/2/3 highligter - brackets parsing error causing memory leak / crash
|
||||
- Comments color highlighting
|
||||
- AS1/2 Obfuscated registers names not resolving because of trimming
|
||||
|
||||
### Changed
|
||||
- Icon of "Deobfuscation options" menu from pile of pills to medkit
|
||||
|
||||
@@ -117,7 +117,7 @@ public class RegisterNumber implements Serializable {
|
||||
* @return Translated name
|
||||
*/
|
||||
public String translate() {
|
||||
if (name == null || name.trim().isEmpty()) {
|
||||
if (name == null || name.isEmpty()) {
|
||||
return String.format(Configuration.registerNameFormat.get(), number);
|
||||
}
|
||||
return name;
|
||||
|
||||
Reference in New Issue
Block a user