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
ac6671b7
Commit
ac6671b7
authored
Oct 13, 2010
by
Nikolay Sivov
Committed by
Alexandre Julliard
Oct 13, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msxml3: Fix response text conversion to WCHAR string.
parent
ace3a81d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
httprequest.c
dlls/msxml3/httprequest.c
+5
-1
domdoc.c
dlls/msxml3/tests/domdoc.c
+1
-1
No files found.
dlls/msxml3/httprequest.c
View file @
ac6671b7
...
...
@@ -865,7 +865,11 @@ static HRESULT WINAPI httprequest_get_responseText(IXMLHTTPRequest *iface, BSTR
if
(
encoding
==
XML_CHAR_ENCODING_UTF8
||
encoding
==
XML_CHAR_ENCODING_NONE
)
{
*
body
=
bstr_from_xmlChar
(
ptr
);
DWORD
length
=
MultiByteToWideChar
(
CP_UTF8
,
0
,
(
LPCSTR
)
ptr
,
size
,
NULL
,
0
);
*
body
=
SysAllocStringLen
(
NULL
,
length
);
if
(
*
body
)
MultiByteToWideChar
(
CP_UTF8
,
0
,
(
LPCSTR
)
ptr
,
size
,
*
body
,
length
);
}
else
*
body
=
SysAllocStringByteLen
((
LPCSTR
)
ptr
,
size
);
...
...
dlls/msxml3/tests/domdoc.c
View file @
ac6671b7
...
...
@@ -3354,7 +3354,7 @@ if (0)
* not what the server expects */
if
(
hr
==
S_OK
)
{
todo_wine
ok
(
!
memcmp
(
bstrResponse
,
wszExpectedResponse
,
sizeof
(
wszExpectedResponse
)),
ok
(
!
memcmp
(
bstrResponse
,
wszExpectedResponse
,
sizeof
(
wszExpectedResponse
)),
"expected %s, got %s
\n
"
,
wine_dbgstr_w
(
wszExpectedResponse
),
wine_dbgstr_w
(
bstrResponse
));
SysFreeString
(
bstrResponse
);
}
...
...
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