mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2024-11-27 14:12:36 +00:00
Formatting
This commit is contained in:
parent
45cbef1b8f
commit
4b6e1004cc
1 changed files with 4 additions and 4 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue