Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
a703343f
Commit
a703343f
authored
Mar 25, 2005
by
Ferenc Wagner
Committed by
Alexandre Julliard
Mar 25, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Check desktop visibility after processing command line arguments.
parent
a807c5ef
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
main.c
programs/winetest/main.c
+5
-5
No files found.
programs/winetest/main.c
View file @
a703343f
...
...
@@ -551,11 +551,6 @@ int WINAPI WinMain (HINSTANCE hInst, HINSTANCE hPrevInst,
const
char
*
cp
,
*
submit
=
NULL
,
*
tag
=
NULL
;
int
reset_env
=
1
;
if
(
!
running_on_visible_desktop
())
{
report
(
R_ERROR
,
"Tests must be run on a visible desktop"
);
exit
(
2
);
}
/* initialize the revision information first */
extract_rev_infos
();
...
...
@@ -605,6 +600,11 @@ int WINAPI WinMain (HINSTANCE hInst, HINSTANCE hPrevInst,
cmdLine
=
strtok
(
NULL
,
whitespace
);
}
if
(
!
submit
)
{
if
(
!
running_on_visible_desktop
())
{
report
(
R_ERROR
,
"Tests must be run on a visible desktop"
);
exit
(
2
);
}
if
(
reset_env
&&
(
putenv
(
"WINETEST_PLATFORM=windows"
)
||
putenv
(
"WINETEST_DEBUG=1"
)
||
putenv
(
"WINETEST_INTERACTIVE=0"
)
||
...
...
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