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
a5337149
Commit
a5337149
authored
Nov 20, 2014
by
Jiaxing Wang
Committed by
Alexandre Julliard
May 20, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
regedit: Avoid appending '\0' to string value of imported key.
parent
2100d3e1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
1 deletion
+0
-1
regproc.c
programs/regedit/regproc.c
+0
-1
No files found.
programs/regedit/regproc.c
View file @
a5337149
...
@@ -376,7 +376,6 @@ static LONG setValue(WCHAR* val_name, WCHAR* val_data, BOOL is_unicode)
...
@@ -376,7 +376,6 @@ static LONG setValue(WCHAR* val_name, WCHAR* val_data, BOOL is_unicode)
return
ERROR_INVALID_DATA
;
return
ERROR_INVALID_DATA
;
val_data
[
dwLen
-
1
]
=
'\0'
;
/* remove last quotes */
val_data
[
dwLen
-
1
]
=
'\0'
;
/* remove last quotes */
lpbData
=
(
BYTE
*
)
val_data
;
lpbData
=
(
BYTE
*
)
val_data
;
dwLen
++
;
/* include terminating null */
dwLen
=
dwLen
*
sizeof
(
WCHAR
);
/* size is in bytes */
dwLen
=
dwLen
*
sizeof
(
WCHAR
);
/* size is in bytes */
}
}
else
if
(
dwParseType
==
REG_DWORD
)
/* Convert the dword types */
else
if
(
dwParseType
==
REG_DWORD
)
/* Convert the dword types */
...
...
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