]> git.xonotic.org Git - xonotic/gmqcc.git/commitdiff
Formatting
authorDale Weiler <killfieldengine@gmail.com>
Tue, 10 Apr 2012 00:12:00 +0000 (20:12 -0400)
committerDale Weiler <killfieldengine@gmail.com>
Tue, 10 Apr 2012 00:12:00 +0000 (20:12 -0400)
typedef.c

index fcd2b18a176d93eafa4de4719c97265fec90a35d..6acfa85758c353ab0da07a97706677ca151fce19 100644 (file)
--- a/typedef.c
+++ b/typedef.c
@@ -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);