Created
June 9, 2012 16:38
-
-
Save jkap/2901697 to your computer and use it in GitHub Desktop.
fsbext diff for homebrew
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/fsbext.c b/fsbext.c | |
index e643fca..4cbe027 100755 | |
--- a/fsbext.c | |
+++ b/fsbext.c | |
@@ -1978,7 +1978,7 @@ void put_extension(u8 *fname, u8 *ext, int skip_known) { | |
experimental_extension_guessing(fname, oldext_buff, fname + strlen(fname)); | |
if(oldext_buff[0]) { | |
strcpy(wavext + 1, ext); | |
- } else if(!stricmp(wavext + 1, ext)) { | |
+ } else if(!strcasecmp(wavext + 1, ext)) { | |
// do nothing | |
} else { | |
sprintf(fname + strlen(fname), ".%s", ext); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment