Fixed XML elements. Element's end tag is now properly formed.
authorMarkus Kauppila <markus.kauppila@gmail.com>
Thu, 23 Jun 2011 21:11:48 +0300
changeset 5710 2f48255db3d8
parent 5709 2e5e43552878
child 5711 63487fb415ee
Fixed XML elements. Element's end tag is now properly formed.
test/test-automation/xml.c
--- a/test/test-automation/xml.c	Wed Jun 22 21:56:23 2011 +0300
+++ b/test/test-automation/xml.c	Thu Jun 23 21:11:48 2011 +0300
@@ -234,7 +234,7 @@
 		TagList *temp = openTag->next;
 
 		memset(buffer, 0, bufferSize);
-		snprintf(buffer, bufferSize, "<%s>", openTag->tag);
+		snprintf(buffer, bufferSize, "</%s>", openTag->tag);
 		logger(buffer);
 
 		const int openTagSize = SDL_strlen(openTag->tag);