Commit eb1a1826 authored by Markus Kauppila's avatar Markus Kauppila

Fixed XML elements. Element's end tag is now properly formed.

parent e6225c94
......@@ -234,7 +234,7 @@ XMLCloseElement(const char *tag)
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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment