From 3d96c56f244113fa9fc9680b6aee07fb6f619963 Mon Sep 17 00:00:00 2001 From: Rein Klazes Date: Mon, 21 Nov 2005 13:34:29 +0000 Subject: [PATCH] Do not forward _mbccpy to strcpy. Remove the error message in _mbccpy, it is not an error. --- dlls/msvcrt/mbcs.c | 6 ++---- dlls/msvcrt/msvcrt.spec | 2 +- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/dlls/msvcrt/mbcs.c b/dlls/msvcrt/mbcs.c index 0b49d0313d4..939c314252f 100644 --- a/dlls/msvcrt/mbcs.c +++ b/dlls/msvcrt/mbcs.c @@ -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 */ } /********************************************************************* diff --git a/dlls/msvcrt/msvcrt.spec b/dlls/msvcrt/msvcrt.spec index b302e80dbf0..d72e41b3df5 100644 --- a/dlls/msvcrt/msvcrt.spec +++ b/dlls/msvcrt/msvcrt.spec @@ -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) -- 2.11.4.GIT