Commit e9d937e3 authored by Eric Pouech's avatar Eric Pouech Committed by Alexandre Julliard

- 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
parent 8e90c68d
......@@ -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;
......
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