~ubuntu-branches/ubuntu/gutsy/icu/gutsy

« back to all changes in this revision

Viewing changes to source/tools/toolutil/uparse.c

  • Committer: Package Import Robot
  • Author(s): Matthias Klose
  • Date: 2005-05-21 22:44:31 UTC
  • mfrom: (2.1.1 warty)
  • Revision ID: package-import@ubuntu.com-20050521224431-r7rktfhnu1n4tf1g
Tags: 2.1-2.1
Rename icu-doc to icu21-doc. icu-doc is built by the icu28 package.

Show diffs side-by-side

added added

removed removed

Lines of Context:
216
216
 
217
217
        /* read one code point */
218
218
        value=(uint32_t)uprv_strtoul(s, &end, 16);
219
 
        if(end<=s || (*end!=' ' && *end!='\t' && *end!=';') || value>=0x110000) {
 
219
        if(end<=s || (*end!=' ' && *end!='\t' && *end!=';' && *end!=0) || value>=0x110000) {
220
220
            *pErrorCode=U_PARSE_ERROR;
221
221
            return 0;
222
222
        }