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
5f26c609
Commit
5f26c609
authored
Nov 18, 2009
by
Piotr Caban
Committed by
Alexandre Julliard
Nov 19, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msxml3: Ignore nanoseconds in xmlnode_get_nodeTypedValue.
parent
f4f71986
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
12 deletions
+3
-12
node.c
dlls/msxml3/node.c
+0
-9
domdoc.c
dlls/msxml3/tests/domdoc.c
+3
-3
No files found.
dlls/msxml3/node.c
View file @
5f26c609
...
...
@@ -999,16 +999,7 @@ inline HRESULT VARIANT_from_xmlChar(xmlChar *str, VARIANT *v, BSTR type)
if
(
*
p
==
'.'
)
{
int
ms
;
p
++
;
ms
=
(
*
(
p
++
)
-
'0'
)
*
10
;
if
(
isdigitW
(
*
p
))
ms
+=
*
(
p
++
)
-
'0'
;
ms
*=
10
;
if
(
isdigitW
(
*
p
))
ms
+=
*
(
p
++
)
-
'0'
;
st
.
wMilliseconds
=
ms
;
while
(
isdigitW
(
*
p
))
p
++
;
}
}
...
...
dlls/msxml3/tests/domdoc.c
View file @
5f26c609
...
...
@@ -4103,7 +4103,7 @@ static void test_NodeTypeValue(void)
hr
=
IXMLDOMNode_get_nodeTypedValue
(
pNode
,
&
v
);
ok
(
hr
==
S_OK
,
"ret %08x
\n
"
,
hr
);
ok
(
V_VT
(
&
v
)
==
VT_DATE
,
"incorrect type
\n
"
);
double_eq
(
40135
.
13996
666666
,
V_DATE
(
&
v
));
double_eq
(
40135
.
13996
527778
,
V_DATE
(
&
v
));
VariantClear
(
&
v
);
IXMLDOMNode_Release
(
pNode
);
...
...
@@ -4142,7 +4142,7 @@ static void test_NodeTypeValue(void)
hr
=
IXMLDOMNode_get_nodeTypedValue
(
pNode
,
&
v
);
ok
(
hr
==
S_OK
,
"ret %08x
\n
"
,
hr
);
ok
(
V_VT
(
&
v
)
==
VT_DATE
,
"incorrect type
\n
"
);
double_eq
(
0
.
5813
92511574074
,
V_DATE
(
&
v
));
double_eq
(
0
.
5813
888888888888
,
V_DATE
(
&
v
));
VariantClear
(
&
v
);
IXMLDOMNode_Release
(
pNode
);
...
...
@@ -4155,7 +4155,7 @@ static void test_NodeTypeValue(void)
hr
=
IXMLDOMNode_get_nodeTypedValue
(
pNode
,
&
v
);
ok
(
hr
==
S_OK
,
"ret %08x
\n
"
,
hr
);
ok
(
V_VT
(
&
v
)
==
VT_DATE
,
"incorrect type
\n
"
);
double_eq
(
1
.
11251
3078703703
,
V_DATE
(
&
v
));
double_eq
(
1
.
11251
1574074074
,
V_DATE
(
&
v
));
VariantClear
(
&
v
);
IXMLDOMNode_Release
(
pNode
);
...
...
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