summaryrefslogtreecommitdiffstats
path: root/libjava/jni.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/jni.cc')
-rw-r--r--libjava/jni.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libjava/jni.cc b/libjava/jni.cc
index 48c63b05bf1..18cbd937847 100644
--- a/libjava/jni.cc
+++ b/libjava/jni.cc
@@ -1251,7 +1251,7 @@ add_char (char *buf, jchar c, int *here)
}
else if (c == '/')
buf[(*here)++] = '_';
- if ((c >= '0' && c <= '9')
+ else if ((c >= '0' && c <= '9')
|| (c >= 'a' && c <= 'z')
|| (c >= 'A' && c <= 'Z'))
buf[(*here)++] = (char) c;
OpenPOWER on IntegriCloud