Commit 3d96c56f authored by Rein Klazes's avatar Rein Klazes Committed by Alexandre Julliard

Do not forward _mbccpy to strcpy.

Remove the error message in _mbccpy, it is not an error.
parent 36f6bbb8
......@@ -281,11 +281,9 @@ MSVCRT_size_t _mbstrlen(const char* str)
*/
void _mbccpy(unsigned char* dest, const unsigned char* src)
{
*dest++ = *src;
*dest = *src;
if(MSVCRT___mb_cur_max > 1 && MSVCRT_isleadbyte(*src))
*dest = *++src; /* MB char */
else
ERR("failure.. is this ok?\n");
*++dest = *++src; /* MB char */
}
/*********************************************************************
......
......@@ -335,7 +335,7 @@
@ cdecl _mbbtombc(long)
@ stub _mbbtype #(long long)
# extern _mbcasemap
@ cdecl _mbccpy (str str) strcpy
@ cdecl _mbccpy (str str)
@ stub _mbcjistojms #(long)
@ stub _mbcjmstojis #(long)
@ cdecl _mbclen(ptr)
......
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