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
81c1aa14
Commit
81c1aa14
authored
Jun 03, 2007
by
Jason Edmeades
Committed by
Alexandre Julliard
Jun 04, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cmd.exe: Change from main to wmain.
parent
c4885bc4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
6 deletions
+2
-6
Makefile.in
programs/cmd/Makefile.in
+1
-1
wcmdmain.c
programs/cmd/wcmdmain.c
+1
-5
No files found.
programs/cmd/Makefile.in
View file @
81c1aa14
...
...
@@ -3,7 +3,7 @@ TOPOBJDIR = ../..
SRCDIR
=
@srcdir@
VPATH
=
@srcdir@
MODULE
=
cmd.exe
APPMODE
=
-mconsole
APPMODE
=
-mconsole
-municode
EXTRADEFS
=
-DUNICODE
IMPORTS
=
shell32 user32 advapi32 kernel32
...
...
programs/cmd/wcmdmain.c
View file @
81c1aa14
...
...
@@ -100,9 +100,8 @@ static WCHAR *WCMD_expand_envvar(WCHAR *start);
* winmain().
*/
int
main
(
int
argc
,
char
*
argv
[])
int
wmain
(
int
argc
,
WCHAR
*
argvW
[])
{
LPWSTR
*
argvW
=
NULL
;
int
args
;
WCHAR
*
cmd
=
NULL
;
WCHAR
string
[
1024
];
...
...
@@ -121,10 +120,7 @@ int main (int argc, char *argv[])
wsprintf
(
version_string
,
WCMD_LoadMessage
(
WCMD_VERSION
),
string
);
strcpyW
(
anykey
,
WCMD_LoadMessage
(
WCMD_ANYKEY
));
/* Get a Unicode command line */
argvW
=
CommandLineToArgvW
(
GetCommandLineW
(),
&
argc
);
args
=
argc
;
opt_c
=
opt_k
=
opt_q
=
opt_s
=
0
;
while
(
args
>
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