Module: wine Branch: master Commit: 2f614e6081be616f4068a48df42266fd929e1502 URL: http://source.winehq.org/git/wine.git/?a=commit;h=2f614e6081be616f4068a48df4...
Author: Alexandre Julliard julliard@winehq.org Date: Tue May 18 16:02:11 2010 +0200
krnl386.exe: Call the 32-bit string functions that contain exception handlers.
---
dlls/krnl386.exe16/kernel.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/dlls/krnl386.exe16/kernel.c b/dlls/krnl386.exe16/kernel.c index 7658549..437eed1 100644 --- a/dlls/krnl386.exe16/kernel.c +++ b/dlls/krnl386.exe16/kernel.c @@ -21,6 +21,7 @@ #include <stdarg.h> #include <stdio.h>
+#define WINE_NO_INLINE_STRING #include "windef.h" #include "winbase.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 ) { - lstrcpynA( MapSL(dst), src, n ); + if (!lstrcpynA( MapSL(dst), src, n )) return 0; return dst; }