Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
162e6c1e
Commit
162e6c1e
authored
Dec 08, 2017
by
Stefan Dösinger
Committed by
Alexandre Julliard
Dec 11, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dxdiag: Recognise /dontskip.
Signed-off-by:
Stefan Dösinger
<
stefan@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
5dd9a1f0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
main.c
programs/dxdiag/main.c
+9
-0
No files found.
programs/dxdiag/main.c
View file @
162e6c1e
...
...
@@ -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
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment