Skip to content
This repository
Browse code

Fix check common subtitle subdir existence without suffix slash bug.

  • Loading branch information...
commit 5feedaf33f47e06c68d9e5ce53801390dce30743 1 parent cffa184
ulion authored February 22, 2013

Showing 1 changed file with 1 addition and 0 deletions. Show diff stats Hide diff stats

  1. 1  xbmc/Util.cpp
1  xbmc/Util.cpp
@@ -1947,6 +1947,7 @@ void CUtil::ScanForExternalSubtitles(const CStdString& strMovie, std::vector<CSt
1947 1947
     for (int j=0; common_sub_dirs[j]; j++)
1948 1948
     {
1949 1949
       CStdString strPath2 = URIUtils::AddFileToFolder(strLookInPaths[i],common_sub_dirs[j]);
  1950
+      URIUtils::AddSlashAtEnd(strPath2);
1950 1951
       if (CDirectory::Exists(strPath2))
1951 1952
         strLookInPaths.push_back(strPath2);
1952 1953
     }

0 notes on commit 5feedaf

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