- 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
This commit is contained in:
parent
8e90c68d56
commit
e9d937e3d4
|
@ -694,6 +694,7 @@ static BOOL WINECON_ParseOptions(const char* lpCmdLine, struct wc_init* wci)
|
||||||
if (end == wci->ptr + 12) return FALSE;
|
if (end == wci->ptr + 12) return FALSE;
|
||||||
wci->mode = from_event;
|
wci->mode = from_event;
|
||||||
wci->ptr = end;
|
wci->ptr = end;
|
||||||
|
wci->backend = WCUSER_InitBackend;
|
||||||
}
|
}
|
||||||
else if (strncmp(wci->ptr, "--backend=", 10) == 0)
|
else if (strncmp(wci->ptr, "--backend=", 10) == 0)
|
||||||
{
|
{
|
||||||
|
@ -709,6 +710,8 @@ static BOOL WINECON_ParseOptions(const char* lpCmdLine, struct wc_init* wci)
|
||||||
else
|
else
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
|
|
Loading…
Reference in New Issue