Commit 0998dfe0 authored by Bartosz Kosiorek's avatar Bartosz Kosiorek Committed by Alexandre Julliard

msvcrt: Add _mbctolower_l partial implementation.

parent f3d90dbc
...@@ -1088,7 +1088,7 @@ ...@@ -1088,7 +1088,7 @@
@ cdecl _mbctokata(long) @ cdecl _mbctokata(long)
@ stub _mbctokata_l @ stub _mbctokata_l
@ cdecl _mbctolower(long) @ cdecl _mbctolower(long)
@ stub _mbctolower_l @ cdecl _mbctolower_l(long ptr)
@ cdecl _mbctombb(long) @ cdecl _mbctombb(long)
@ stub _mbctombb_l @ stub _mbctombb_l
@ cdecl _mbctoupper(long) @ cdecl _mbctoupper(long)
......
...@@ -1445,7 +1445,7 @@ ...@@ -1445,7 +1445,7 @@
@ cdecl _mbctokata(long) @ cdecl _mbctokata(long)
@ stub _mbctokata_l @ stub _mbctokata_l
@ cdecl _mbctolower(long) @ cdecl _mbctolower(long)
@ stub _mbctolower_l @ cdecl _mbctolower_l(long ptr)
@ cdecl _mbctombb(long) @ cdecl _mbctombb(long)
@ stub _mbctombb_l @ stub _mbctombb_l
@ cdecl _mbctoupper(long) @ cdecl _mbctoupper(long)
......
...@@ -1456,7 +1456,7 @@ ...@@ -1456,7 +1456,7 @@
@ cdecl _mbctokata(long) @ cdecl _mbctokata(long)
@ stub _mbctokata_l @ stub _mbctokata_l
@ cdecl _mbctolower(long) @ cdecl _mbctolower(long)
@ stub _mbctolower_l @ cdecl _mbctolower_l(long ptr)
@ cdecl _mbctombb(long) @ cdecl _mbctombb(long)
@ stub _mbctombb_l @ stub _mbctombb_l
@ cdecl _mbctoupper(long) @ cdecl _mbctoupper(long)
......
...@@ -760,7 +760,7 @@ ...@@ -760,7 +760,7 @@
@ cdecl _mbctokata(long) @ cdecl _mbctokata(long)
@ stub _mbctokata_l @ stub _mbctokata_l
@ cdecl _mbctolower(long) @ cdecl _mbctolower(long)
@ stub _mbctolower_l @ cdecl _mbctolower_l(long ptr)
@ cdecl _mbctombb(long) @ cdecl _mbctombb(long)
@ stub _mbctombb_l @ stub _mbctombb_l
@ cdecl _mbctoupper(long) @ cdecl _mbctoupper(long)
......
...@@ -738,7 +738,7 @@ ...@@ -738,7 +738,7 @@
@ cdecl _mbctokata(long) @ cdecl _mbctokata(long)
@ stub _mbctokata_l @ stub _mbctokata_l
@ cdecl _mbctolower(long) @ cdecl _mbctolower(long)
@ stub _mbctolower_l @ cdecl _mbctolower_l(long ptr)
@ cdecl _mbctombb(long) @ cdecl _mbctombb(long)
@ stub _mbctombb_l @ stub _mbctombb_l
@ cdecl _mbctoupper(long) @ cdecl _mbctoupper(long)
......
...@@ -447,16 +447,24 @@ unsigned int CDECL _mbsnextc(const unsigned char* str) ...@@ -447,16 +447,24 @@ unsigned int CDECL _mbsnextc(const unsigned char* str)
} }
/********************************************************************* /*********************************************************************
* _mbctolower(MSVCRT.@) * _mbctolower_l(MSVCRT.@)
*/ */
unsigned int CDECL _mbctolower(unsigned int c) unsigned int CDECL _mbctolower_l(unsigned int c, _locale_t locale)
{ {
if (_ismbblead(c)) if (_ismbblead_l(c, locale))
{ {
FIXME("Handle MBC chars\n"); FIXME("Handle MBC chars\n");
return c; return c;
} }
return _tolower_l(c, NULL); /* ASCII CP or SB char */ return _tolower_l(c, locale); /* ASCII CP or SB char */
}
/*********************************************************************
* _mbctolower(MSVCRT.@)
*/
unsigned int CDECL _mbctolower(unsigned int c)
{
return _mbctolower_l(c, NULL);
} }
/********************************************************************* /*********************************************************************
......
...@@ -705,7 +705,7 @@ ...@@ -705,7 +705,7 @@
@ cdecl _mbctokata(long) @ cdecl _mbctokata(long)
# stub _mbctokata_l(long ptr) # stub _mbctokata_l(long ptr)
@ cdecl _mbctolower(long) @ cdecl _mbctolower(long)
# stub _mbctolower_l(long ptr) @ cdecl _mbctolower_l(long ptr)
@ cdecl _mbctombb(long) @ cdecl _mbctombb(long)
# stub _mbctombb_l(long ptr) # stub _mbctombb_l(long ptr)
@ cdecl _mbctoupper(long) @ cdecl _mbctoupper(long)
......
...@@ -603,7 +603,7 @@ ...@@ -603,7 +603,7 @@
@ cdecl _mbctokata(long) @ cdecl _mbctokata(long)
@ stub _mbctokata_l @ stub _mbctokata_l
@ cdecl _mbctolower(long) @ cdecl _mbctolower(long)
@ stub _mbctolower_l @ cdecl _mbctolower_l(long ptr)
@ cdecl _mbctombb(long) @ cdecl _mbctombb(long)
@ stub _mbctombb_l @ stub _mbctombb_l
@ cdecl _mbctoupper(long) @ cdecl _mbctoupper(long)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment