Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
01b07469
Commit
01b07469
authored
Oct 24, 2014
by
Bruno Jesus
Committed by
Alexandre Julliard
Oct 28, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
regedit: Append exported strings using the correct size.
parent
2b40148e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
4 deletions
+1
-4
regproc.c
programs/regedit/regproc.c
+1
-4
No files found.
programs/regedit/regproc.c
View file @
01b07469
...
...
@@ -1180,10 +1180,7 @@ static void export_hkey(FILE *file, HKEY key,
lstrcpyW
(
*
line_buf
+
line_len
,
start
);
line_len
+=
len
;
/* At this point we know wstr is '\0'-terminated
* so we can subtract 1 from the size
*/
REGPROC_export_string
(
line_buf
,
line_buf_size
,
&
line_len
,
wstr
,
val_size1
/
sizeof
(
WCHAR
)
-
1
);
REGPROC_export_string
(
line_buf
,
line_buf_size
,
&
line_len
,
wstr
,
lstrlenW
(
wstr
));
REGPROC_resize_char_buffer
(
line_buf
,
line_buf_size
,
line_len
+
lstrlenW
(
end
));
lstrcpyW
(
*
line_buf
+
line_len
,
end
);
...
...
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