mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2024-10-19 03:32:41 +00:00
Fixed DynOS saving/loading with spaces in pack name
This commit is contained in:
parent
6a384a3039
commit
36c1d52e1f
1 changed files with 3 additions and 3 deletions
|
@ -256,7 +256,7 @@ static void ban_write(FILE* file) {
|
|||
}
|
||||
}
|
||||
|
||||
static void dynos_pack_read(char** tokens, UNUSED int numTokens) {
|
||||
static void dynos_pack_read(char** tokens, int numTokens) {
|
||||
if (numTokens < 3) { return; }
|
||||
char fullPackName[256] = { 0 };
|
||||
for (int i = 1; i < numTokens-1; i++) {
|
||||
|
@ -389,7 +389,7 @@ void configfile_load(const char *filename) {
|
|||
// Go through each line in the file
|
||||
while ((line = read_file_line(file)) != NULL) {
|
||||
char *p = line;
|
||||
char *tokens[1 + MAX_BINDS];
|
||||
char *tokens[20];
|
||||
int numTokens;
|
||||
|
||||
// skip whitespace
|
||||
|
|
Loading…
Reference in a new issue