off-by-one error
authorNiki Roo <niki@nikiroo.be>
Sat, 25 May 2019 21:08:33 +0000 (23:08 +0200)
committerNiki Roo <niki@nikiroo.be>
Sat, 25 May 2019 21:08:33 +0000 (23:08 +0200)
src/be/nikiroo/utils/resources/BundleHelper.java

index 0d48d67a0d031b8b4902e5536fd696b965fdf8b7..45f7cf4ccee250ec791009dcc983258db27bdedf 100644 (file)
@@ -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();