mirror of
https://github.com/vgmstream/vgmstream.git
synced 2024-11-12 09:40:51 +01:00
txth: fix wrong name table check
This commit is contained in:
parent
39dfdee9e4
commit
93374f3019
@ -1553,7 +1553,7 @@ static int read_name_table_keyval(txth_header* txth, const char* line, char* key
|
||||
//todo names with # and subsongs don't work
|
||||
|
||||
/* ignore comments (that aren't subsongs) */
|
||||
if (line[0] == '#' && strchr(line,':') < 0)
|
||||
if (line[0] == '#' && strchr(line,':') == NULL)
|
||||
return 0;
|
||||
|
||||
/* try "(name): (val))" */
|
||||
|
Loading…
Reference in New Issue
Block a user