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
4097865b
Commit
4097865b
authored
Feb 14, 1999
by
Marcus Meissner
Committed by
Alexandre Julliard
Feb 14, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Do not print 'wine: no executeable found' if we did execute something.
parent
03287451
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
main.c
miscemu/main.c
+5
-2
No files found.
miscemu/main.c
View file @
4097865b
...
...
@@ -47,7 +47,7 @@ void MAIN_EmulatorRun( void )
extern
void
THUNK_InitCallout
(
void
);
char
startProg
[
256
],
defProg
[
256
];
HINSTANCE32
handle
;
int
i
;
int
i
,
tasks
=
0
;
MSG32
msg
;
/* Load system DLLs into the initial process (and initialize them) */
...
...
@@ -80,6 +80,7 @@ void MAIN_EmulatorRun( void )
/* Load and run executables given on command line */
for
(
i
=
1
;
i
<
MAIN_argc
;
i
++
)
{
if
((
handle
=
WinExec32
(
MAIN_argv
[
i
],
SW_SHOWNORMAL
))
<
32
)
{
MSG
(
"wine: can't exec '%s': "
,
MAIN_argv
[
i
]);
...
...
@@ -90,8 +91,10 @@ void MAIN_EmulatorRun( void )
default:
MSG
(
"error=%d
\n
"
,
handle
);
break
;
}
}
else
tasks
++
;
}
if
(
GetNumTasks
()
<=
1
)
if
(
!
tasks
)
{
MSG
(
"wine: no executable file found.
\n
"
);
ExitProcess
(
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