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
46bdc153
Commit
46bdc153
authored
Feb 17, 2016
by
Hugh McMaster
Committed by
Alexandre Julliard
Feb 18, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
reg: Fail if /s is used without an accompanying argument.
Signed-off-by:
Hugh McMaster
<
hugh.mcmaster@outlook.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
6ef5ae80
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
1 deletion
+10
-1
reg.c
programs/reg/reg.c
+10
-1
No files found.
programs/reg/reg.c
View file @
46bdc153
...
...
@@ -576,7 +576,16 @@ int wmain(int argc, WCHAR *argvW[])
else
if
(
!
lstrcmpiW
(
argvW
[
i
],
slashTW
))
type
=
argvW
[
++
i
];
else
if
(
!
lstrcmpiW
(
argvW
[
i
],
slashSW
))
separator
=
argvW
[
++
i
][
0
];
{
WCHAR
*
ptr
=
argvW
[
++
i
];
if
(
!
ptr
)
{
output_message
(
STRING_INVALID_CMDLINE
);
return
1
;
}
separator
=
ptr
[
0
];
}
else
if
(
!
lstrcmpiW
(
argvW
[
i
],
slashDW
))
{
if
(
!
(
data
=
argvW
[
++
i
]))
...
...
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