Commit abfb7844 by Tom Tromey Committed by Tom Tromey

* jni.cc (add_char): Added missing `else'.

From-SVN: r31991
parent 9f09b1f2
2000-02-15 Tom Tromey <tromey@cygnus.com> 2000-02-15 Tom Tromey <tromey@cygnus.com>
* jni.cc (add_char): Added missing `else'.
* jni.cc (_Jv_JNI_AttachCurrentThread): Return error if malloc * jni.cc (_Jv_JNI_AttachCurrentThread): Return error if malloc
fails. fails.
......
...@@ -1251,7 +1251,7 @@ add_char (char *buf, jchar c, int *here) ...@@ -1251,7 +1251,7 @@ add_char (char *buf, jchar c, int *here)
} }
else if (c == '/') else if (c == '/')
buf[(*here)++] = '_'; buf[(*here)++] = '_';
if ((c >= '0' && c <= '9') else if ((c >= '0' && c <= '9')
|| (c >= 'a' && c <= 'z') || (c >= 'a' && c <= 'z')
|| (c >= 'A' && c <= 'Z')) || (c >= 'A' && c <= 'Z'))
buf[(*here)++] = (char) c; buf[(*here)++] = (char) c;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment