[PATCH] Correct get_nodeValue for PI Nodes

Alistair Leslie-Hughes leslie_alistair at hotmail.com
Wed Feb 20 05:34:01 CST 2008


---
 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 699e5dc..a17c36d 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);
     }
-- 
1.5.4.1


--------------040905080604020200040304--




More information about the wine-patches mailing list