[PATCH 3/3] Don't force put_nodeValue return value
Nikolay Sivov
nsivov at codeweavers.com
Thu Nov 4 11:16:12 CDT 2010
---
dlls/msxml3/node.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/msxml3/node.c b/dlls/msxml3/node.c
index c14328e..672e469 100644
--- a/dlls/msxml3/node.c
+++ b/dlls/msxml3/node.c
@@ -189,7 +189,7 @@ HRESULT node_put_value(xmlnode *This, VARIANT *value)
hr = node_set_content(This, V_BSTR(&string_value));
VariantClear(&string_value);
- return S_OK;
+ return hr;
}
HRESULT node_put_value_escaped(xmlnode *This, VARIANT *value)
@@ -207,7 +207,7 @@ HRESULT node_put_value_escaped(xmlnode *This, VARIANT *value)
hr = node_set_content_escaped(This, V_BSTR(&string_value));
VariantClear(&string_value);
- return S_OK;
+ return hr;
}
static HRESULT get_node(
--
1.5.6.5
--------------000500030109040304030308--
More information about the wine-patches
mailing list