mirror of
https://github.com/reactos/wine.git
synced 2024-11-23 03:39:54 +00:00
dxdiag: Recognise /dontskip.
Signed-off-by: Stefan Dösinger <stefan@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
5dd9a1f00e
commit
162e6c1e40
@ -110,6 +110,7 @@ static BOOL process_command_line(const WCHAR *cmdline, struct command_line_info
|
||||
static const WCHAR whql_colonW[] = {'w','h','q','l',':',0};
|
||||
static const WCHAR offW[] = {'o','f','f',0};
|
||||
static const WCHAR onW[] = {'o','n',0};
|
||||
static const WCHAR dontskipW[] = {'d','o','n','t','s','k','i','p',0};
|
||||
|
||||
info->whql_check = FALSE;
|
||||
info->output_type = OUTPUT_NONE;
|
||||
@ -163,6 +164,14 @@ static BOOL process_command_line(const WCHAR *cmdline, struct command_line_info
|
||||
return FALSE;
|
||||
|
||||
break;
|
||||
|
||||
case 'd':
|
||||
case 'D':
|
||||
if (strncmpiW(cmdline, dontskipW, 8))
|
||||
return FALSE;
|
||||
cmdline += 8;
|
||||
break;
|
||||
|
||||
default:
|
||||
return FALSE;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user