msxml3: Fix copy/paste error in get_lastChild functions.
This commit is contained in:
parent
2fd50cb4b8
commit
37f61acb77
|
@ -263,7 +263,7 @@ static HRESULT WINAPI domattr_get_lastChild(
|
||||||
|
|
||||||
TRACE("(%p)->(%p)\n", This, domNode);
|
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(
|
static HRESULT WINAPI domattr_get_previousSibling(
|
||||||
|
|
|
@ -269,7 +269,7 @@ static HRESULT WINAPI domfrag_get_lastChild(
|
||||||
|
|
||||||
TRACE("(%p)->(%p)\n", This, domNode);
|
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(
|
static HRESULT WINAPI domfrag_get_previousSibling(
|
||||||
|
|
|
@ -779,7 +779,7 @@ static HRESULT WINAPI domdoc_get_lastChild(
|
||||||
|
|
||||||
TRACE("(%p)->(%p)\n", This, lastChild);
|
TRACE("(%p)->(%p)\n", This, lastChild);
|
||||||
|
|
||||||
return node_get_first_child(&This->node, lastChild);
|
return node_get_last_child(&This->node, lastChild);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -278,7 +278,7 @@ static HRESULT WINAPI domelem_get_lastChild(
|
||||||
|
|
||||||
TRACE("(%p)->(%p)\n", This, domNode);
|
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(
|
static HRESULT WINAPI domelem_get_previousSibling(
|
||||||
|
|
|
@ -265,7 +265,7 @@ static HRESULT WINAPI entityref_get_lastChild(
|
||||||
|
|
||||||
TRACE("(%p)->(%p)\n", This, domNode);
|
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(
|
static HRESULT WINAPI entityref_get_previousSibling(
|
||||||
|
|
|
@ -1844,7 +1844,7 @@ static HRESULT WINAPI unknode_get_lastChild(
|
||||||
|
|
||||||
TRACE("(%p)->(%p)\n", This, domNode);
|
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(
|
static HRESULT WINAPI unknode_get_previousSibling(
|
||||||
|
|
Loading…
Reference in New Issue