- 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:
Eric Pouech 2003-03-10 19:03:33 +00:00 committed by Alexandre Julliard
parent 8e90c68d56
commit e9d937e3d4
1 changed files with 3 additions and 0 deletions
programs/wineconsole

View File

@ -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;