AUTHORS
authorDale Weiler <killfieldengine@gmail.com>
Tue, 24 Apr 2012 17:05:19 +0000 (13:05 -0400)
committerDale Weiler <killfieldengine@gmail.com>
Tue, 24 Apr 2012 17:05:19 +0000 (13:05 -0400)
AUTHORS [new file with mode: 0644]
main.c
util.c

diff --git a/AUTHORS b/AUTHORS
new file mode 100644 (file)
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 (file)
--- 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 (file)
--- 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;
     }