mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2025-03-21 18:30:52 +00:00
AUTHORS
This commit is contained in:
parent
8049252f65
commit
a68b56c2c3
3 changed files with 4 additions and 2 deletions
2
AUTHORS
Normal file
2
AUTHORS
Normal file
|
@ -0,0 +1,2 @@
|
|||
gmqcc brought to you by:
|
||||
Dale Weiler
|
2
main.c
2
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;
|
||||
}
|
||||
|
|
2
util.c
2
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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue