git-svn-id: svn://db.shs.com.ru/pip@925 12ceb7fc-bf1f-11e4-8940-5bc7170c53b5
This commit is contained in:
@@ -95,7 +95,7 @@ int charCompare(const ushort * f, const ushort * s) {
|
||||
# ifdef WINDOWS
|
||||
CompareStringW(LOCALE_USER_DEFAULT, 0, (PCNZWCH)f, 1, (PCNZWCH)s, 1);
|
||||
# else
|
||||
strcmp((const char *)f, (const char *)s);
|
||||
wcsncmp((const wchar_t *)f, (const wchar_t *)s, 1);
|
||||
# endif
|
||||
#endif
|
||||
}
|
||||
@@ -277,7 +277,7 @@ PIChar PIChar::toUpper() const {
|
||||
return PIChar(wc);
|
||||
# endif
|
||||
#endif
|
||||
return PIChar(toupper(ch));
|
||||
return PIChar(towupper(ch));
|
||||
}
|
||||
|
||||
|
||||
@@ -295,7 +295,7 @@ PIChar PIChar::toLower() const {
|
||||
return PIChar(wc);
|
||||
# endif
|
||||
#endif
|
||||
return PIChar(tolower(ch));
|
||||
return PIChar(towlower(ch));
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user