Commit 2ae88e92 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

subtitles: Fix "any subtitle" detection.

parent f97effab
......@@ -358,7 +358,7 @@ char **subtitles_Detect( input_thread_t *p_this, char *psz_path,
}
}
else if( i_prio == SUB_PRIORITY_NONE &&
j == 0 )
j == -1 )
{
/* doesn't contain the movie name, prefer files in f_dir over subdirs */
i_prio = SUB_PRIORITY_MATCH_NONE;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment