Changeset 3018


Ignore:
Timestamp:
Apr 7, 2007, 7:34:56 AM (18 years ago)
Author:
bird
Message:

Fixed broken tolower (when not inlined).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libc/src/libc/locale/locale_ctype.c

    r2729 r3018  
    241241__ct_rune_t __tolower(__ct_rune_t __ch)
    242242{
    243     return __ch <= 255 && __ch >= 128 && __ch != -1 /* EOF */
     243    return __ch <= 255 && __ch >= -128 && __ch != -1 /* EOF */
    244244        ? __libc_GLocaleCtype.auchLower[__ch & 0xff]
    245245        : __ch;
Note: See TracChangeset for help on using the changeset viewer.