Skip to content

Instantly share code, notes, and snippets.

@jkap
Created June 9, 2012 16:38
Show Gist options
  • Save jkap/2901697 to your computer and use it in GitHub Desktop.
Save jkap/2901697 to your computer and use it in GitHub Desktop.
fsbext diff for homebrew
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