Skip to content

Commit

Permalink
Merge pull request #9 from BrunoReX/issue_174
Browse files Browse the repository at this point in the history
Fix loading of external subtitles without lower-case file extensions
  • Loading branch information
Cyberbeing committed Mar 22, 2014
2 parents b2ec909 + bf88321 commit 472cb11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/subtitles/GFN.cpp
Expand Up @@ -157,7 +157,7 @@ void GetSubFileNames(CString fn, CAtlArray<CString>& paths, CString load_ext_lis
{
const CString& fn = sl.GetNext(pos);
int l = fn.ReverseFind('.');
CString ext = fn.Mid(l+1);
CString ext = fn.Mid(l+1).MakeLower();
int ext_order = ext_support.ext_support_order(ext);
if (ext_order>-1)
{
Expand Down

0 comments on commit 472cb11

Please sign in to comment.