Skip to content

Commit 62dc3a7

Browse files
committed
use strcasecmp instead of stricmp
1 parent 8c77b2f commit 62dc3a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libogc/card.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -536,7 +536,7 @@ static s32 __card_getfilenum(card_block *card,const char *filename,const char *g
536536
entries = dirblock->entries;
537537
for(i=0;i<CARD_MAXFILES;i++) {
538538
if(entries[i].gamecode[0]!=0xff) {
539-
if(stricmp(filename,(const char*)entries[i].filename)==0) {
539+
if(strcasecmp(filename,(const char*)entries[i].filename)==0) {
540540
if((gamecode && gamecode[0]!=0xff && memcmp(entries[i].gamecode,gamecode,4)!=0)
541541
|| (company && company[0]!=0xff && memcmp(entries[i].company,company,2)!=0)) continue;
542542

0 commit comments

Comments
 (0)