Commit 2f614e60 authored by Alexandre Julliard's avatar Alexandre Julliard

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

parent ea596f8a
...@@ -21,6 +21,7 @@ ...@@ -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 ) ...@@ -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;
} }
......
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