update for HEAD-2003021201
[reactos.git] / lib / msvcrt / ctype / tolower.c
index e2c188c..95e4ccf 100644 (file)
@@ -10,7 +10,8 @@ int tolower(int c)
 }
 
 #undef towlower
-wchar_t towlower(wchar_t c)
+int towlower(wint_t c)
+//wchar_t towlower(wchar_t c)
 {
    if (iswctype (c, _UPPER))
        return (c - (L'A' - L'a'));
@@ -19,17 +20,16 @@ wchar_t towlower(wchar_t c)
 
 int _tolower(int c)
 {
-   if (_isctype (c, _UPPER))
-       return (c - ('A' - 'a'));
-   return(c);
+   return (c - ('A' - 'a'));
 }
 
 /*
+int towlower(wint_t);
+int towupper(wint_t);
+
 wchar_t _towlower(wchar_t c)
 {
-   if (iswctype (c, _UPPER))
-       return (c - (L'A' - L'a'));
-   return(c);
+   return (c - (L'A' - L'a'));
 }
 */