Alistair Leslie-Hughes : msxml3: Correct get_nodeValue for PI Nodes.

Alexandre Julliard julliard at winehq.org
Thu Feb 21 07:42:16 CST 2008


Module: wine
Branch: master
Commit: a2debce7c54b6faa8fcd3989c3c4abecc1679b17
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=a2debce7c54b6faa8fcd3989c3c4abecc1679b17

Author: Alistair Leslie-Hughes <leslie_alistair at hotmail.com>
Date:   Wed Feb 20 22:34:01 2008 +1100

msxml3: Correct get_nodeValue for PI Nodes.

---

 dlls/msxml3/node.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/dlls/msxml3/node.c b/dlls/msxml3/node.c
index ba3fc58..1b6c9d1 100644
--- a/dlls/msxml3/node.c
+++ b/dlls/msxml3/node.c
@@ -251,6 +251,7 @@ static HRESULT WINAPI xmlnode_get_nodeValue(
 
     switch ( This->node->type )
     {
+    case XML_PI_NODE:
     case XML_ATTRIBUTE_NODE:
       {
         xmlChar *content = xmlNodeGetContent(This->node);
@@ -269,7 +270,7 @@ static HRESULT WINAPI xmlnode_get_nodeValue(
     case XML_DOCUMENT_NODE:
         /* these seem to return NULL */
         break;
-    case XML_PI_NODE:
+
     default:
         FIXME("node %p type %d\n", This, This->node->type);
     }




More information about the wine-cvs mailing list