From: Dale Weiler Date: Tue, 24 Apr 2012 17:05:19 +0000 (-0400) Subject: AUTHORS X-Git-Tag: 0.1-rc1~639 X-Git-Url: https://git.xonotic.org/?p=xonotic%2Fgmqcc.git;a=commitdiff_plain;h=a68b56c2c3879de6beba28ec3beb2dde1f41e31f AUTHORS --- diff --git a/AUTHORS b/AUTHORS new file mode 100644 index 0000000..9d57712 --- /dev/null +++ b/AUTHORS @@ -0,0 +1,2 @@ +gmqcc brought to you by: +Dale Weiler diff --git a/main.c b/main.c index e24a7fe..88481e3 100644 --- a/main.c +++ b/main.c @@ -94,7 +94,7 @@ int main(int argc, char **argv) { } /* code specific switches */ - if (!strcmp(&argv[1][1], "fdarkplaces-string-table-bug")) { + if (!strcmp(&argv[1][1], "fdarkplaces-stringtablebug")) { opts_darkplaces_stringtablebug = 1; break; } diff --git a/util.c b/util.c index 136b12a..010de97 100644 --- a/util.c +++ b/util.c @@ -244,7 +244,7 @@ int util_getline(char **lineptr, size_t *n, FILE *stream) { if (!lineptr || !n || !stream) return -1; if (!*lineptr) { - if (!(*lineptr = mem_a((*n = 64)))) + if (!(*lineptr = mem_a((*n=64)))) return -1; }