From: Niki Roo Date: Sat, 25 May 2019 21:08:33 +0000 (+0200) Subject: off-by-one error X-Git-Url: https://git.nikiroo.be/?a=commitdiff_plain;h=0e2553f93f71fa765224376d25ab2810a01aa061;p=fanfix-jexer.git off-by-one error --- diff --git a/src/be/nikiroo/utils/resources/BundleHelper.java b/src/be/nikiroo/utils/resources/BundleHelper.java index 0d48d67..45f7cf4 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();