Skip to content

Commit

Permalink
Revert "Fix actions for move/copy when destination set is actually a …
Browse files Browse the repository at this point in the history
…file."

This reverts commit 2f1a04e. It breaks
addon installation.
  • Loading branch information
Montellese committed Sep 20, 2012
1 parent 4e333c9 commit 4257357
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions xbmc/utils/FileOperationJob.cpp
Expand Up @@ -157,12 +157,7 @@ bool CFileOperationJob::DoProcess(FileAction action, CFileItemList & items, cons

CStdString strnewDestFile;
if(!strDestFile.IsEmpty()) // only do this if we have a destination
{
if (URIUtils::HasSlashAtEnd(pItem->GetPath()))
URIUtils::AddFileToFolder(strDestFile, strFileName, strnewDestFile);
else
strnewDestFile = strDestFile;
}
URIUtils::AddFileToFolder(strDestFile, strFileName, strnewDestFile);

if (pItem->m_bIsFolder)
{
Expand Down

0 comments on commit 4257357

Please sign in to comment.