Rename to strcasecmp

Dammit, I misread the macro. It defines strcasecmp=_stricmp for MSVC, not _stricmp=strcasecmp for Unix.
This commit is contained in:
Christopher Snowhill 2019-07-02 16:54:33 -07:00 committed by GitHub
parent 6b488b13e5
commit 9bae582a24
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;