Joris Huizer : msxml3: Fix copy/paste error in get_lastChild functions.
Alexandre Julliard
julliard at winehq.org
Thu Sep 9 13:56:49 CDT 2010
Module: wine
Branch: master
Commit: 37f61acb7703c67d2ad96a4a01f01f11869560df
URL: http://source.winehq.org/git/wine.git/?a=commit;h=37f61acb7703c67d2ad96a4a01f01f11869560df
Author: Joris Huizer <joris_huizer at yahoo.com>
Date: Wed Sep 8 21:55:37 2010 +0200
msxml3: Fix copy/paste error in get_lastChild functions.
---
dlls/msxml3/attribute.c | 2 +-
dlls/msxml3/docfrag.c | 2 +-
dlls/msxml3/domdoc.c | 2 +-
dlls/msxml3/element.c | 2 +-
dlls/msxml3/entityref.c | 2 +-
dlls/msxml3/node.c | 2 +-
6 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/dlls/msxml3/attribute.c b/dlls/msxml3/attribute.c
index e96cb6e..f1b7643 100644
--- a/dlls/msxml3/attribute.c
+++ b/dlls/msxml3/attribute.c
@@ -263,7 +263,7 @@ static HRESULT WINAPI domattr_get_lastChild(
TRACE("(%p)->(%p)\n", This, domNode);
- return node_get_first_child(&This->node, domNode);
+ return node_get_last_child(&This->node, domNode);
}
static HRESULT WINAPI domattr_get_previousSibling(
diff --git a/dlls/msxml3/docfrag.c b/dlls/msxml3/docfrag.c
index 801d2a9..7b97050 100644
--- a/dlls/msxml3/docfrag.c
+++ b/dlls/msxml3/docfrag.c
@@ -269,7 +269,7 @@ static HRESULT WINAPI domfrag_get_lastChild(
TRACE("(%p)->(%p)\n", This, domNode);
- return node_get_first_child(&This->node, domNode);
+ return node_get_last_child(&This->node, domNode);
}
static HRESULT WINAPI domfrag_get_previousSibling(
diff --git a/dlls/msxml3/domdoc.c b/dlls/msxml3/domdoc.c
index 35a8f7c..c66ea74 100644
--- a/dlls/msxml3/domdoc.c
+++ b/dlls/msxml3/domdoc.c
@@ -779,7 +779,7 @@ static HRESULT WINAPI domdoc_get_lastChild(
TRACE("(%p)->(%p)\n", This, lastChild);
- return node_get_first_child(&This->node, lastChild);
+ return node_get_last_child(&This->node, lastChild);
}
diff --git a/dlls/msxml3/element.c b/dlls/msxml3/element.c
index fa9b18d..1cce5e1 100644
--- a/dlls/msxml3/element.c
+++ b/dlls/msxml3/element.c
@@ -278,7 +278,7 @@ static HRESULT WINAPI domelem_get_lastChild(
TRACE("(%p)->(%p)\n", This, domNode);
- return node_get_first_child(&This->node, domNode);
+ return node_get_last_child(&This->node, domNode);
}
static HRESULT WINAPI domelem_get_previousSibling(
diff --git a/dlls/msxml3/entityref.c b/dlls/msxml3/entityref.c
index b1217b2..57e6683 100644
--- a/dlls/msxml3/entityref.c
+++ b/dlls/msxml3/entityref.c
@@ -265,7 +265,7 @@ static HRESULT WINAPI entityref_get_lastChild(
TRACE("(%p)->(%p)\n", This, domNode);
- return node_get_first_child(&This->node, domNode);
+ return node_get_last_child(&This->node, domNode);
}
static HRESULT WINAPI entityref_get_previousSibling(
diff --git a/dlls/msxml3/node.c b/dlls/msxml3/node.c
index f37b081..921ef15 100644
--- a/dlls/msxml3/node.c
+++ b/dlls/msxml3/node.c
@@ -1844,7 +1844,7 @@ static HRESULT WINAPI unknode_get_lastChild(
TRACE("(%p)->(%p)\n", This, domNode);
- return node_get_first_child(&This->node, domNode);
+ return node_get_last_child(&This->node, domNode);
}
static HRESULT WINAPI unknode_get_previousSibling(
More information about the wine-cvs
mailing list