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
761301b6
Commit
761301b6
authored
Sep 30, 2013
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wineconsole: Run a command shell by default.
parent
83558875
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
wineconsole.c
programs/wineconsole/wineconsole.c
+4
-2
No files found.
programs/wineconsole/wineconsole.c
View file @
761301b6
...
...
@@ -780,6 +780,9 @@ static UINT WINECON_ParseOptions(const char* lpCmdLine, struct wc_init* wci)
else
return
IDS_CMD_INVALID_BACKEND
;
}
else
if
(
!
strncmp
(
wci
->
ptr
,
"--help"
,
6
)
&&
(
!
wci
->
ptr
[
6
]
||
wci
->
ptr
[
6
]
==
' '
||
wci
->
ptr
[
6
]
==
'\t'
))
return
IDS_CMD_ABOUT
|
WINECON_CMD_SHOW_USAGE
;
else
return
IDS_CMD_INVALID_OPTION
|
WINECON_CMD_SHOW_USAGE
;
}
...
...
@@ -788,8 +791,7 @@ static UINT WINECON_ParseOptions(const char* lpCmdLine, struct wc_init* wci)
return
0
;
while
(
*
wci
->
ptr
==
' '
||
*
wci
->
ptr
==
'\t'
)
wci
->
ptr
++
;
if
(
*
wci
->
ptr
==
0
)
return
IDS_CMD_ABOUT
|
WINECON_CMD_SHOW_USAGE
;
if
(
*
wci
->
ptr
==
0
)
wci
->
ptr
=
"cmd"
;
return
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