diff options
author | Kai Sommerfeld <kai.sommerfeld@gmx.com> | 2022-01-24 22:50:57 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-24 22:50:57 +0100 |
commit | e60e5c24bf77be9a2d6979b676c84b23c8e9f8ff (patch) | |
tree | e0fb9d8b4566db15045dcc410634a7b9be0fd5c6 | |
parent | 323665f27ef70ad9746f8cecc8c54d9283a5dfae (diff) | |
parent | c41899bc02e02eb248d756b2e90ea573e94c3700 (diff) |
Merge pull request #20878 from eltociear/patch-1
Fix typo in StackDirectory.cpp
-rw-r--r-- | xbmc/filesystem/StackDirectory.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/xbmc/filesystem/StackDirectory.cpp b/xbmc/filesystem/StackDirectory.cpp index 99c081f221..a752a94648 100644 --- a/xbmc/filesystem/StackDirectory.cpp +++ b/xbmc/filesystem/StackDirectory.cpp @@ -147,7 +147,7 @@ namespace XFILE std::string CStackDirectory::GetFirstStackedFile(const std::string &strPath) { // the stacked files are always in volume order, so just get up to the first filename - // occurence of " , " + // occurrence of " , " std::string file, folder; size_t pos = strPath.find(" , "); if (pos != std::string::npos) @@ -191,7 +191,7 @@ namespace XFILE std::string folder, file; URIUtils::Split(items[stack[0]]->GetPath(), folder, file); stackedPath += folder; - // double escape any occurence of commas + // double escape any occurrence of commas StringUtils::Replace(file, ",", ",,"); stackedPath += file; for (unsigned int i = 1; i < stack.size(); ++i) @@ -199,7 +199,7 @@ namespace XFILE stackedPath += " , "; file = items[stack[i]]->GetPath(); - // double escape any occurence of commas + // double escape any occurrence of commas StringUtils::Replace(file, ",", ",,"); stackedPath += file; } @@ -214,7 +214,7 @@ namespace XFILE std::string folder, file; URIUtils::Split(paths[0], folder, file); stackedPath += folder; - // double escape any occurence of commas + // double escape any occurrence of commas StringUtils::Replace(file, ",", ",,"); stackedPath += file; for (unsigned int i = 1; i < paths.size(); ++i) @@ -222,7 +222,7 @@ namespace XFILE stackedPath += " , "; file = paths[i]; - // double escape any occurence of commas + // double escape any occurrence of commas StringUtils::Replace(file, ",", ",,"); stackedPath += file; } |