# HG changeset patch # User faust3 # Date 1094127516 0 # Node ID b1e482fcd919b36d71bf5782cf09dbf2f7a035fd # Parent a47aaa6b7324186598d73d8407ebbe3b7a8341d5 subtitle autodetection regardles of case (bug #65), patches Michal Svec and Reynaldo H. Verdejo Pinochet diff -r a47aaa6b7324 -r b1e482fcd919 subreader.c --- a/subreader.c Thu Sep 02 12:02:06 2004 +0000 +++ b/subreader.c Thu Sep 02 12:18:36 2004 +0000 @@ -1860,7 +1860,7 @@ #else for (i = 0; sub_exts[i]; i++) { #endif - if (strcmp(sub_exts[i], tmp_fname_ext) == 0) { + if (strcasecmp(sub_exts[i], tmp_fname_ext) == 0) { found = 1; break; }