Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-fonts
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
Aleksandr Isakov
wine-fonts
Commits
a49a2abf
Commit
a49a2abf
authored
Jul 02, 2022
by
Nikolay Sivov
Committed by
Alexandre Julliard
Jul 04, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
xmllite/reader: Use correct byte length when updating utf16 buffer contents marker.
Signed-off-by:
Nikolay Sivov
<
nsivov@codeweavers.com
>
parent
a304924c
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
reader.c
dlls/xmllite/reader.c
+2
-2
No files found.
dlls/xmllite/reader.c
View file @
a49a2abf
...
...
@@ -1030,7 +1030,7 @@ static void readerinput_switchencoding(xmlreaderinput *readerinput, xml_encoding
{
readerinput_grow
(
readerinput
,
len
);
memcpy
(
dest
->
data
,
src
->
data
+
src
->
cur
,
len
);
dest
->
written
+=
len
*
sizeof
(
WCHAR
)
;
dest
->
written
+=
len
;
}
else
{
...
...
@@ -1084,7 +1084,7 @@ static HRESULT reader_more(xmlreader *reader)
{
readerinput_grow
(
readerinput
,
len
);
memcpy
(
dest
->
data
+
dest
->
written
,
src
->
data
+
src
->
cur
,
len
);
dest
->
written
+=
len
*
sizeof
(
WCHAR
)
;
dest
->
written
+=
len
;
}
else
{
...
...
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