* jcf-parse.c (get_constant): Call UT8_CHAR_LENGTH on `utf8', not the
scratch buffer.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37646
138bc75d-0d04-0410-961f-
82ee72b054a4
+2000-11-22 Bryce McKinlay <bryce@albatross.co.nz>
+
+ * jcf-parse.c (get_constant): Call UT8_CHAR_LENGTH on `utf8', not the
+ scratch buffer.
+
2000-11-20 Tom Tromey <tromey@cygnus.com>
* jv-scan.c (help): Document --complexity.
for (i = 0; i < str_len; i++)
{
int char_value;
- int char_len = UT8_CHAR_LENGTH (*str);
+ int char_len = UT8_CHAR_LENGTH (*utf8);
switch (char_len)
{
case 1: