# HG changeset patch # User henry # Date 1060385208 0 # Node ID 2125344def419b4297a3bac8df3f63ca736946cd # Parent 4e9418dc7c28b5a39076c72a853541353d9839e9 some more cola - misplaced break diff -r 4e9418dc7c28 -r 2125344def41 subreader.c --- a/subreader.c Fri Aug 08 22:56:32 2003 +0000 +++ b/subreader.c Fri Aug 08 23:26:48 2003 +0000 @@ -1694,15 +1694,10 @@ // we have a (likely) subtitle file if (found) { int prio = 0; - if (tmp_sub_id && (sub_match_fuzziness >= 1)) + if (tmp_sub_id && (sub_match_fuzziness >= 1) && (strcmp(tmp_fname_trim, tmpresult) == 0)) { - sprintf(tmpresult, "%s %s", f_fname_trim, tmp_sub_id); - printf("dvdsublang...%s\n", tmpresult); - if (strcmp(tmp_fname_trim, tmpresult) == 0) { - // matches the movie name + lang extension - prio = 5; - break; - } + // matches the movie name + lang extension + prio = 5; } else if (strcmp(tmp_fname_trim, f_fname_trim) == 0) { // matches the movie name prio = 4;