Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fixes deletion of sources without slash at end

  • Loading branch information...
commit fbf1bc2e92b158ecb0172d46d70d518b12b99b17 1 parent bd0e2f5
Jonathan Marshall authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  xbmc/dialogs/GUIDialogContextMenu.cpp
2  xbmc/dialogs/GUIDialogContextMenu.cpp
View
@@ -654,7 +654,7 @@ CMediaSource *CGUIDialogContextMenu::GetShare(const CStdString &type, const CFil
}
else
{
- if (!testShare.strPath.Equals(item->GetPath()))
+ if (!URIUtils::CompareWithoutSlashAtEnd(testShare.strPath, item->GetPath()))
continue;
}
// paths match, what about share name - only match the leftmost
Please sign in to comment.
Something went wrong with that request. Please try again.