Formatting

This commit is contained in:
Dale Weiler 2012-04-09 20:12:00 -04:00
parent 45cbef1b8f
commit 4b6e1004cc

View file

@ -168,10 +168,10 @@ int typedef_add(const char *from, const char *to) {
/* check if the type exists first */
if (strncmp(from, "void", sizeof("void")) == 0 ||
strncmp(from, "string", sizeof("string")) == 0 ||
strncmp(from, "float", sizeof("float")) == 0 ||
strncmp(from, "vector", sizeof("vector")) == 0 ||
strncmp(from, "entity", sizeof("entity")) == 0) {
strncmp(from, "string", sizeof("string")) == 0 ||
strncmp(from, "float", sizeof("float")) == 0 ||
strncmp(from, "vector", sizeof("vector")) == 0 ||
strncmp(from, "entity", sizeof("entity")) == 0) {
typedef_table[hash] = mem_a(sizeof(typedef_node));
typedef_table[hash]->name = strdup(from);