From 1207d9b5937f7c8fb67d9e4b4843f13c74bea85a Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Fri, 20 Jul 2007 11:19:17 +0200 Subject: [PATCH] ntdll: Add support for abbreviated empty elements in manifests. --- dlls/ntdll/actctx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/ntdll/actctx.c b/dlls/ntdll/actctx.c index 823bbcbc7b1..08383e3b627 100644 --- a/dlls/ntdll/actctx.c +++ b/dlls/ntdll/actctx.c @@ -569,7 +569,7 @@ static BOOL next_xml_elem(xmlbuf_t* xmlbuf, xmlstr_t* elem) } xmlbuf->ptr = ptr; - while (ptr < xmlbuf->end && !isxmlspace(*ptr) && *ptr != '>') + while (ptr < xmlbuf->end && !isxmlspace(*ptr) && *ptr != '>' && (*ptr != '/' || ptr == xmlbuf->ptr)) ptr++; elem->ptr = xmlbuf->ptr;