From 0e2553f93f71fa765224376d25ab2810a01aa061 Mon Sep 17 00:00:00 2001 From: Niki Roo Date: Sat, 25 May 2019 23:08:33 +0200 Subject: [PATCH] off-by-one error --- src/be/nikiroo/utils/resources/BundleHelper.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); -- 2.27.0