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
0dac54b3
Commit
0dac54b3
authored
Jun 14, 2007
by
Francois Gouget
Committed by
Alexandre Julliard
Jun 14, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
regedit: Having garbage after the dash in '"foo"=-' is not valid.
Don't complain if the value already does not exist.
parent
bde3cf9b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
regproc.c
programs/regedit/regproc.c
+5
-2
No files found.
programs/regedit/regproc.c
View file @
0dac54b3
...
...
@@ -219,8 +219,11 @@ static LONG setValue(LPSTR val_name, LPSTR val_data)
if
(
(
val_name
==
NULL
)
||
(
val_data
==
NULL
)
)
return
ERROR_INVALID_PARAMETER
;
if
(
val_data
[
0
]
==
'-'
)
return
RegDeleteValue
(
currentKeyHandle
,
val_name
);
if
(
strcmp
(
val_data
,
"-"
)
==
0
)
{
res
=
RegDeleteValue
(
currentKeyHandle
,
val_name
);
return
(
res
==
ERROR_FILE_NOT_FOUND
?
ERROR_SUCCESS
:
res
);
}
/* Get the data type stored into the value field */
dwDataType
=
getDataType
(
&
val_data
,
&
dwParseType
);
...
...
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