From: Niki Roo Date: Sat, 25 May 2019 21:08:33 +0000 (+0200) Subject: off-by-one error X-Git-Tag: fanfix-swing-0.0.1~21^2~41 X-Git-Url: http://git.nikiroo.be/?a=commitdiff_plain;h=0e2553f93f71fa765224376d25ab2810a01aa061;p=fanfix-swing.git off-by-one error --- diff --git a/src/be/nikiroo/utils/resources/BundleHelper.java b/src/be/nikiroo/utils/resources/BundleHelper.java index 0d48d67a..45f7cf4c 100644 --- a/src/be/nikiroo/utils/resources/BundleHelper.java +++ b/src/be/nikiroo/utils/resources/BundleHelper.java @@ -385,7 +385,7 @@ class BundleHelper { return null; } - value = value.substring(1, value.length() - 2); + value = value.substring(1, value.length() - 1); boolean prevIsBackslash = false; StringBuilder builder = new StringBuilder();