Commit b7818870 authored by Alexandre Julliard's avatar Alexandre Julliard

faultrep: Build with msvcrt.

parent a003eb5d
...@@ -2,4 +2,6 @@ MODULE = faultrep.dll ...@@ -2,4 +2,6 @@ MODULE = faultrep.dll
IMPORTLIB = faultrep IMPORTLIB = faultrep
IMPORTS = advapi32 IMPORTS = advapi32
EXTRADLLFLAGS = -mno-cygwin
C_SRCS = faultrep.c C_SRCS = faultrep.c
...@@ -24,7 +24,6 @@ ...@@ -24,7 +24,6 @@
#include "winnls.h" #include "winnls.h"
#include "winreg.h" #include "winreg.h"
#include "wine/debug.h" #include "wine/debug.h"
#include "wine/unicode.h"
#include "errorrep.h" #include "errorrep.h"
...@@ -62,7 +61,7 @@ BOOL WINAPI AddERExcludedApplicationW(LPCWSTR lpAppFileName) ...@@ -62,7 +61,7 @@ BOOL WINAPI AddERExcludedApplicationW(LPCWSTR lpAppFileName)
LONG res; LONG res;
TRACE("(%s)\n", wine_dbgstr_w(lpAppFileName)); TRACE("(%s)\n", wine_dbgstr_w(lpAppFileName));
bslash = strrchrW(lpAppFileName, '\\'); bslash = wcsrchr(lpAppFileName, '\\');
if (bslash != NULL) if (bslash != NULL)
lpAppFileName = bslash + 1; lpAppFileName = bslash + 1;
if (*lpAppFileName == '\0') if (*lpAppFileName == '\0')
......
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