summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/gnu/classpath/tools/native2ascii/Native2ASCII.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/gnu/classpath/tools/native2ascii/Native2ASCII.java b/tools/gnu/classpath/tools/native2ascii/Native2ASCII.java
index dfa364c4e..35e9f481f 100644
--- a/tools/gnu/classpath/tools/native2ascii/Native2ASCII.java
+++ b/tools/gnu/classpath/tools/native2ascii/Native2ASCII.java
@@ -1,5 +1,5 @@
/* Native2ASCII.java - native2ascii program
- Copyright (C) 2003 Free Software Foundation, Inc.
+ Copyright (C) 2003, 2007 Free Software Foundation, Inc.
This file is part of GNU Classpath.
@@ -143,7 +143,7 @@ public class Native2ASCII
{
char c = s.charAt(i);
if (reversed
- && i + 6 < s.length()
+ && i + 6 <= s.length()
&& s.charAt(i) == '\\'
&& s.charAt(i + 1) == 'u')
{