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
a5a12491
Commit
a5a12491
authored
Apr 13, 2016
by
Hans Leidekker
Committed by
Alexandre Julliard
Apr 13, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
webservices: Fix reader movement for text field mappings.
Signed-off-by:
Hans Leidekker
<
hans@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
0652e618
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
reader.c
dlls/webservices/reader.c
+4
-1
No files found.
dlls/webservices/reader.c
View file @
a5a12491
...
...
@@ -2016,6 +2016,7 @@ static HRESULT read_get_text( struct reader *reader, WS_TYPE_MAPPING mapping,
}
case
WS_ELEMENT_TYPE_MAPPING
:
case
WS_ELEMENT_CONTENT_TYPE_MAPPING
:
case
WS_ANY_ELEMENT_TYPE_MAPPING
:
{
HRESULT
hr
;
*
found
=
TRUE
;
...
...
@@ -2690,8 +2691,9 @@ static HRESULT read_type_text( struct reader *reader, const WS_FIELD_DESCRIPTION
if
((
hr
=
read_to_startelement
(
reader
,
&
found
))
!=
S_OK
)
return
S_OK
;
if
(
!
found
)
return
WS_E_INVALID_FORMAT
;
if
((
hr
=
read_node
(
reader
))
!=
S_OK
)
return
hr
;
if
(
node_type
(
reader
->
current
)
!=
WS_XML_NODE_TYPE_TEXT
)
return
WS_E_INVALID_FORMAT
;
return
read_type
(
reader
,
WS_
ELEMENT_CONT
ENT_TYPE_MAPPING
,
desc
->
type
,
NULL
,
NULL
,
return
read_type
(
reader
,
WS_
ANY_ELEM
ENT_TYPE_MAPPING
,
desc
->
type
,
NULL
,
NULL
,
desc
->
typeDescription
,
option
,
heap
,
ret
,
size
);
}
...
...
@@ -2875,6 +2877,7 @@ static HRESULT read_type( struct reader *reader, WS_TYPE_MAPPING mapping, WS_TYP
if
((
hr
=
read_type_next_element_node
(
reader
,
localname
,
ns
))
!=
S_OK
)
return
hr
;
break
;
case
WS_ANY_ELEMENT_TYPE_MAPPING
:
case
WS_ATTRIBUTE_TYPE_MAPPING
:
break
;
...
...
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