Author: cwittich
Date: Wed Dec 23 11:44:24 2009
New Revision: 44724
URL:
http://svn.reactos.org/svn/reactos?rev=44724&view=rev
Log:
[crt]
sync wcscpy_s with wine 1.1.35
Modified:
trunk/reactos/lib/sdk/crt/string/wcs.c
Modified: trunk/reactos/lib/sdk/crt/string/wcs.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/sdk/crt/string/wcs.c?r…
==============================================================================
--- trunk/reactos/lib/sdk/crt/string/wcs.c [iso-8859-1] (original)
+++ trunk/reactos/lib/sdk/crt/string/wcs.c [iso-8859-1] Wed Dec 23 11:44:24 2009
@@ -1132,9 +1132,6 @@
return ERANGE;
}
- if(size > numElement)
- size = numElement;
-
memcpy( wcDest, wcSrc, size*sizeof(WCHAR) );
return 0;