Permalink
Browse files

fixed: Reverse path substitution (for some cases)

  • Loading branch information...
1 parent 08bfbb2 commit 15f1256f5f414125b509b085e1172bbd69d84f02 arnova committed Nov 8, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 xbmc/utils/URIUtils.cpp
View
@@ -427,7 +427,7 @@ CStdString URIUtils::SubstitutePath(const CStdString& strPath, bool reverse /* =
if (strPath.size() > i->second.size())
return URIUtils::AddFileToFolder(i->first, strPath.Mid(i->second.size()));
else
- return i->second;
+ return i->first;
}
}
}

0 comments on commit 15f1256

Please sign in to comment.