Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix check common subtitle subdir existence without suffix slash bug.

  • Loading branch information...
commit 5feedaf33f47e06c68d9e5ce53801390dce30743 1 parent cffa184
@ulion ulion authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  xbmc/Util.cpp
View
1  xbmc/Util.cpp
@@ -1947,6 +1947,7 @@ void CUtil::ScanForExternalSubtitles(const CStdString& strMovie, std::vector<CSt
for (int j=0; common_sub_dirs[j]; j++)
{
CStdString strPath2 = URIUtils::AddFileToFolder(strLookInPaths[i],common_sub_dirs[j]);
+ URIUtils::AddSlashAtEnd(strPath2);
if (CDirectory::Exists(strPath2))
strLookInPaths.push_back(strPath2);
}
Please sign in to comment.
Something went wrong with that request. Please try again.