Skip to content
This repository
Browse code

fixes deletion of sources without slash at end

  • Loading branch information...
commit fbf1bc2e92b158ecb0172d46d70d518b12b99b17 1 parent bd0e2f5
authored November 16, 2012

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

  1. 2  xbmc/dialogs/GUIDialogContextMenu.cpp
2  xbmc/dialogs/GUIDialogContextMenu.cpp
@@ -654,7 +654,7 @@ CMediaSource *CGUIDialogContextMenu::GetShare(const CStdString &type, const CFil
654 654
     }
655 655
     else
656 656
     {
657  
-      if (!testShare.strPath.Equals(item->GetPath()))
  657
+      if (!URIUtils::CompareWithoutSlashAtEnd(testShare.strPath, item->GetPath()))
658 658
         continue;
659 659
     }
660 660
     // paths match, what about share name - only match the leftmost

0 notes on commit fbf1bc2

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