fixed a typo

svn path=/trunk/; revision=804
This commit is contained in:
Eric Kohl 1999-11-28 01:55:41 +00:00
parent 6d3a97eb5e
commit e2e5efb9d7

View file

@ -2,7 +2,7 @@
int _wcsnicmp(const wchar_t * cs,const wchar_t * ct,size_t count)
{
wchar_t *save = (char *)cs;
wchar_t *save = (wchar_t *)cs;
while (towlower(*cs) == towlower(*ct) && (int)(cs - save) < count)
{
if (*cs == 0)
@ -11,5 +11,4 @@ int _wcsnicmp(const wchar_t * cs,const wchar_t * ct,size_t count)
ct++;
}
return towlower(*cs) - towlower(*ct);
}