git://git.nikiroo.be
/
fanfix-jexer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c48600a
)
off-by-one error
author
Niki Roo
<niki@nikiroo.be>
Sat, 25 May 2019 21:08:33 +0000
(23:08 +0200)
committer
Niki Roo
<niki@nikiroo.be>
Sat, 25 May 2019 21:08:33 +0000
(23:08 +0200)
src/be/nikiroo/utils/resources/BundleHelper.java
patch
|
blob
|
blame
|
history
diff --git
a/src/be/nikiroo/utils/resources/BundleHelper.java
b/src/be/nikiroo/utils/resources/BundleHelper.java
index 0d48d67a0d031b8b4902e5536fd696b965fdf8b7..45f7cf4ccee250ec791009dcc983258db27bdedf 100644
(file)
--- 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();