changeset 13229:b1e482fcd919

subtitle autodetection regardles of case (bug #65), patches Michal Svec <rebel at atrey.karlin.mff.cuni.cz> and Reynaldo H. Verdejo Pinochet <reynaldo at opendot.cl>
author faust3
date Thu, 02 Sep 2004 12:18:36 +0000
parents a47aaa6b7324
children a83623b3b86a
files subreader.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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;
 		    }