Rev 4874 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4874 | Rev 6099 | ||
---|---|---|---|
Line 413... | Line 413... | ||
413 | if (ctmp < *ptr) |
413 | if (ctmp < *ptr) |
414 | return 0; |
414 | return 0; |
415 | /* otherwise c > *ptr */ |
415 | /* otherwise c > *ptr */ |
416 | /* look for 0x0 as next element which indicates a range */ |
416 | /* look for 0x0 as next element which indicates a range */ |
417 | ++ptr; |
417 | ++ptr; |
418 | if (*ptr == 0x0) |
418 | if (ptr < table + size - 1 && *ptr == 0x0) |
419 | { |
419 | { |
420 | /* we have a range..see if c falls within range */ |
420 | /* we have a range..see if c falls within range */ |
421 | ++ptr; |
421 | ++ptr; |
422 | if (ctmp <= *ptr) |
422 | if (ctmp <= *ptr) |
423 | return 1; |
423 | return 1; |