krnl386.exe: Call the 32-bit string functions that contain exception handlers.

This commit is contained in:
Alexandre Julliard 2010-05-18 16:02:11 +02:00
parent ea596f8a5f
commit 2f614e6081

View file

@ -21,6 +21,7 @@
#include <stdarg.h> #include <stdarg.h>
#include <stdio.h> #include <stdio.h>
#define WINE_NO_INLINE_STRING
#include "windef.h" #include "windef.h"
#include "winbase.h" #include "winbase.h"
#include "winternl.h" #include "winternl.h"
@ -397,7 +398,7 @@ void WINAPI hmemcpy16( LPVOID dst, LPCVOID src, LONG count )
*/ */
SEGPTR WINAPI lstrcpyn16( SEGPTR dst, LPCSTR src, INT16 n ) SEGPTR WINAPI lstrcpyn16( SEGPTR dst, LPCSTR src, INT16 n )
{ {
lstrcpynA( MapSL(dst), src, n ); if (!lstrcpynA( MapSL(dst), src, n )) return 0;
return dst; return dst;
} }