faultrep: Build with msvcrt.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
stable
Alexandre Julliard 2019-06-04 09:08:42 +02:00
parent a003eb5db4
commit b781887004
2 changed files with 3 additions and 2 deletions

View File

@ -2,4 +2,6 @@ MODULE = faultrep.dll
IMPORTLIB = faultrep
IMPORTS = advapi32
EXTRADLLFLAGS = -mno-cygwin
C_SRCS = faultrep.c

View File

@ -24,7 +24,6 @@
#include "winnls.h"
#include "winreg.h"
#include "wine/debug.h"
#include "wine/unicode.h"
#include "errorrep.h"
@ -62,7 +61,7 @@ BOOL WINAPI AddERExcludedApplicationW(LPCWSTR lpAppFileName)
LONG res;
TRACE("(%s)\n", wine_dbgstr_w(lpAppFileName));
bslash = strrchrW(lpAppFileName, '\\');
bslash = wcsrchr(lpAppFileName, '\\');
if (bslash != NULL)
lpAppFileName = bslash + 1;
if (*lpAppFileName == '\0')