Ignore:
Timestamp:
Apr 3, 2001, 8:27:26 PM (24 years ago)
Author:
sandervl
Message:

updates

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kernel32/codepage.cpp

    r5457 r5458  
    496496    return GetStringTypeW( type, src, count, chartype );
    497497}
     498
     499WCHAR WIN32API tolowerW( WCHAR ch )
     500{
     501    extern const WCHAR casemap_lower[];
     502    return ch + casemap_lower[casemap_lower[ch >> 8] + (ch & 0xff)];
     503}
     504
     505WCHAR WIN32API toupperW( WCHAR ch )
     506{
     507    extern const WCHAR casemap_upper[];
     508    return ch + casemap_upper[casemap_upper[ch >> 8] + (ch & 0xff)];
     509}
Note: See TracChangeset for help on using the changeset viewer.