mirror of
https://github.com/vgmstream/vgmstream.git
synced 2025-01-30 20:03:44 +01:00
Rename to strcasecmp
Dammit, I misread the macro. It defines strcasecmp=_stricmp for MSVC, not _stricmp=strcasecmp for Unix.
This commit is contained in:
parent
6b488b13e5
commit
9bae582a24
@ -1350,7 +1350,7 @@ static int parse_name_table(txth_header * txth, char * name_list) {
|
||||
|
||||
//;VGM_LOG("TXTH: compare name '%s'\n", key);
|
||||
/* parse values if key (name) matches default ("") or filename with/without extension */
|
||||
if (key[0]=='\0' || _stricmp(key, filename)==0 || _stricmp(key, basename)==0) {
|
||||
if (key[0]=='\0' || strcasecmp(key, filename)==0 || strcasecmp(key, basename)==0) {
|
||||
int n;
|
||||
char subval[TXT_LINE_MAX];
|
||||
const char *current = val;
|
||||
|
Loading…
x
Reference in New Issue
Block a user