Commit 4b08c00e authored by Alexandre Julliard's avatar Alexandre Julliard

printui: Build with msvcrt.

parent 15eb79cc
MODULE = printui.dll MODULE = printui.dll
IMPORTS = shell32 IMPORTS = shell32
EXTRADLLFLAGS = -mno-cygwin
C_SRCS = \ C_SRCS = \
printui.c printui.c
......
...@@ -31,7 +31,6 @@ ...@@ -31,7 +31,6 @@
#include "winnls.h" #include "winnls.h"
#include "shellapi.h" #include "shellapi.h"
#include "wine/unicode.h"
#include "wine/debug.h" #include "wine/debug.h"
#include "printui_private.h" #include "printui_private.h"
...@@ -151,7 +150,7 @@ static BOOL parse_rundll(context_t * cx) ...@@ -151,7 +150,7 @@ static BOOL parse_rundll(context_t * cx)
while ( c ) while ( c )
{ {
txtW[0] = c; txtW[0] = c;
ptr = strchrW(optionsW, c); ptr = wcschr(optionsW, c);
if (ptr) { if (ptr) {
index = ptr - optionsW; index = ptr - optionsW;
cx->options[index] = get_next_wstr(cx); cx->options[index] = get_next_wstr(cx);
...@@ -160,7 +159,7 @@ static BOOL parse_rundll(context_t * cx) ...@@ -160,7 +159,7 @@ static BOOL parse_rundll(context_t * cx)
} }
else else
{ {
ptr = strchrW(flagsW, c); ptr = wcschr(flagsW, c);
if (ptr) { if (ptr) {
index = ptr - flagsW; index = ptr - flagsW;
cx->flags[index] = TRUE; cx->flags[index] = TRUE;
......
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