From 37abac9e482c40cce7747b6d427c734075ea187c Mon Sep 17 00:00:00 2001 From: Graham Date: Sun, 2 Feb 2020 11:42:29 +0000 Subject: [PATCH] Disable ASCII_STRING_CHARACTERS option Our patched copy of Fernflower no longer produces char literals in inappropriate places (e.g. bit shifts). This removes the requirement for this option, allowing non-English string literals to read nicely. --- decompiler/src/main/java/dev/openrs2/decompiler/Decompiler.kt | 1 - 1 file changed, 1 deletion(-) diff --git a/decompiler/src/main/java/dev/openrs2/decompiler/Decompiler.kt b/decompiler/src/main/java/dev/openrs2/decompiler/Decompiler.kt index c4eca767..020c4e36 100644 --- a/decompiler/src/main/java/dev/openrs2/decompiler/Decompiler.kt +++ b/decompiler/src/main/java/dev/openrs2/decompiler/Decompiler.kt @@ -52,7 +52,6 @@ class Decompiler( companion object { private val OPTIONS = mapOf( - IFernflowerPreferences.ASCII_STRING_CHARACTERS to "1", IFernflowerPreferences.INDENT_STRING to "\t", IFernflowerPreferences.SYNTHETIC_NOT_SET to "1" )