printui: Build with msvcrt.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Alexandre Julliard 2019-06-18 09:06:12 +02:00
parent 15eb79cca3
commit 4b08c00e0f
2 changed files with 4 additions and 3 deletions

View file

@ -1,6 +1,8 @@
MODULE = printui.dll
IMPORTS = shell32
EXTRADLLFLAGS = -mno-cygwin
C_SRCS = \
printui.c

View file

@ -31,7 +31,6 @@
#include "winnls.h"
#include "shellapi.h"
#include "wine/unicode.h"
#include "wine/debug.h"
#include "printui_private.h"
@ -151,7 +150,7 @@ static BOOL parse_rundll(context_t * cx)
while ( c )
{
txtW[0] = c;
ptr = strchrW(optionsW, c);
ptr = wcschr(optionsW, c);
if (ptr) {
index = ptr - optionsW;
cx->options[index] = get_next_wstr(cx);
@ -160,7 +159,7 @@ static BOOL parse_rundll(context_t * cx)
}
else
{
ptr = strchrW(flagsW, c);
ptr = wcschr(flagsW, c);
if (ptr) {
index = ptr - flagsW;
cx->flags[index] = TRUE;