msxml3: Fix position computation in libxmlStartElementNS.
diff --git a/dlls/msxml3/saxreader.c b/dlls/msxml3/saxreader.c
index 29ab60e..7cd2318 100644
--- a/dlls/msxml3/saxreader.c
+++ b/dlls/msxml3/saxreader.c
@@ -1229,12 +1229,12 @@
saxattributes *attr;
int index;
- if(This->saxreader->version >= MSXML6)
- update_position(This, NULL);
- else if(*(This->pParserCtxt->input->cur) == '/')
- update_position(This, (xmlChar*)This->pParserCtxt->input->cur+2);
- else
- update_position(This, (xmlChar*)This->pParserCtxt->input->cur+1);
+ index = 0;
+ if(*(This->pParserCtxt->input->cur) == '/')
+ index++;
+ if(This->saxreader->version < MSXML6)
+ index++;
+ update_position(This, (xmlChar*)This->pParserCtxt->input->cur+index);
hr = namespacePush(This, nb_namespaces);
if(hr==S_OK && has_content_handler(This))