diff options
-rw-r--r-- | src/xml.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -64,10 +64,10 @@ db_xml_get_bool_attr(XML_Parser p, const char **attr, const char *name, for (; attr[0] != NULL; attr += 2) { if (strcmp(attr[0], name) == 0) { if (strcmp(attr[1], "true") == 0) { - dest = SDL_TRUE; + *dest = SDL_TRUE; return; } else if (strcmp(attr[1], "false") == 0) { - dest = SDL_FALSE; + *dest = SDL_FALSE; return; } else if (req) { db_warn("Invalid \"%s\" attribute value", name); |