printui: Build with msvcrt.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
15eb79cca3
commit
4b08c00e0f
|
@ -1,6 +1,8 @@
|
||||||
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 @@
|
||||||
#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)
|
||||||
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)
|
||||||
}
|
}
|
||||||
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;
|
||||||
|
|
Loading…
Reference in New Issue