Skip to content
Browse files

Fix check common subtitle subdir existence without suffix slash bug.

  • Loading branch information...
1 parent cffa184 commit 5feedaf33f47e06c68d9e5ce53801390dce30743 @ulion ulion committed
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);
}

0 comments on commit 5feedaf

Please sign in to comment.
Something went wrong with that request. Please try again.