Alexandre Julliard : ntdll:
Add support for abbreviated empty elements in manifests.
Alexandre Julliard
julliard at wine.codeweavers.com
Fri Jul 20 06:02:15 CDT 2007
Module: wine
Branch: master
Commit: 1207d9b5937f7c8fb67d9e4b4843f13c74bea85a
URL: http://source.winehq.org/git/wine.git/?a=commit;h=1207d9b5937f7c8fb67d9e4b4843f13c74bea85a
Author: Alexandre Julliard <julliard at winehq.org>
Date: Fri Jul 20 11:19:17 2007 +0200
ntdll: Add support for abbreviated empty elements in manifests.
---
dlls/ntdll/actctx.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/ntdll/actctx.c b/dlls/ntdll/actctx.c
index 823bbcb..08383e3 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;
More information about the wine-cvs
mailing list