- Timestamp:
- Jun 21, 2002, 10:36:40 AM (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kernel32/ole2nls.c
r8031 r8741 1 /* $Id: ole2nls.c,v 1. 3 2002-03-04 10:44:58sandervl Exp $1 /* $Id: ole2nls.c,v 1.4 2002-06-21 08:36:40 sandervl Exp $ 2 2 * 3 3 * National Language Support library … … 1902 1902 else 1903 1903 { 1904 int (*f)(int)=identity;1904 WCHAR (* WINAPI f)(WCHAR) = NULL; 1905 1905 1906 1906 if (dstlen==0) … … 1913 1913 1914 1914 if (mapflags & LCMAP_UPPERCASE) 1915 f = toupper ;1915 f = toupperW; 1916 1916 else if (mapflags & LCMAP_LOWERCASE) 1917 f = tolower; 1918 for (i=0; i < srclen; i++) 1919 dststr[i] = (WCHAR) f(srcstr[i]); 1917 f = tolowerW; 1918 if (f) 1919 { 1920 for (i=0; i < srclen; i++) 1921 dststr[i] = (WCHAR) f(srcstr[i]); 1922 } 1923 else 1924 memcpy(dststr, srcstr, sizeof(WCHAR) * srclen); 1925 1920 1926 return srclen; 1921 1927 }
Note:
See TracChangeset
for help on using the changeset viewer.