From e9d937e3d472756311dca72d3360172d21a88b2d Mon Sep 17 00:00:00 2001 From: Eric Pouech Date: Mon, 10 Mar 2003 19:03:33 +0000 Subject: [PATCH] - fixed another regression in sub-process creation (curses backend must be default for AllocConsole() invocation) - fixed endless loop when unknown argument was passed on commandline --- programs/wineconsole/wineconsole.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/programs/wineconsole/wineconsole.c b/programs/wineconsole/wineconsole.c index 08781956d5f..88bd285e849 100644 --- a/programs/wineconsole/wineconsole.c +++ b/programs/wineconsole/wineconsole.c @@ -694,6 +694,7 @@ static BOOL WINECON_ParseOptions(const char* lpCmdLine, struct wc_init* wci) if (end == wci->ptr + 12) return FALSE; wci->mode = from_event; wci->ptr = end; + wci->backend = WCUSER_InitBackend; } else if (strncmp(wci->ptr, "--backend=", 10) == 0) { @@ -709,6 +710,8 @@ static BOOL WINECON_ParseOptions(const char* lpCmdLine, struct wc_init* wci) else return FALSE; } + else + return FALSE; } return TRUE;