]> git.xonotic.org Git - xonotic/gmqcc.git/commitdiff
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 e24a7fe6bae9a92b932edb3409fc075e66ab1ff5..88481e388d2c0fa004f678c27c4bcd70fdc6287a 100644 (file)
--- a/main.c
+++ b/main.c
@@ -94,7 +94,7 @@ int main(int argc, char **argv) {
                 }
 
                 /* code specific switches */
                 }
 
                 /* code specific switches */
-                if (!strcmp(&argv[1][1], "fdarkplaces-string-table-bug")) {
+                if (!strcmp(&argv[1][1], "fdarkplaces-stringtablebug")) {
                     opts_darkplaces_stringtablebug = 1;
                     break;
                 }
                     opts_darkplaces_stringtablebug = 1;
                     break;
                 }
diff --git a/util.c b/util.c
index 136b12a6e92124ee107d1abd379a67f732efdbc3..010de9704da460444ab8030e9220dbe2ce0b4e91 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 || !n || !stream)
         return -1;
     if (!*lineptr) {
-        if (!(*lineptr = mem_a((*n = 64))))
+        if (!(*lineptr = mem_a((*n=64))))
             return -1;
     }
 
             return -1;
     }