[banshee] [Fixup] Fix thinko, enabling better dupe detection
- From: Gabriel Burt <gburt src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [banshee] [Fixup] Fix thinko, enabling better dupe detection
- Date: Sat, 24 Jul 2010 10:54:49 +0000 (UTC)
commit 48d3a3546365366a8c4dda16804dc98bd0a59218
Author: Gabriel Burt <gabriel burt gmail com>
Date: Sat Jul 24 12:51:18 2010 +0200
[Fixup] Fix thinko, enabling better dupe detection
We were doing all these String.Replace calls, but not using the result
of them.
.../Banshee.Fixup/AlbumDuplicateSolver.cs | 2 +-
.../Banshee.Fixup/ArtistDuplicateSolver.cs | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/Extensions/Banshee.Fixup/Banshee.Fixup/AlbumDuplicateSolver.cs b/src/Extensions/Banshee.Fixup/Banshee.Fixup/AlbumDuplicateSolver.cs
index 814c8a9..f88d2c7 100644
--- a/src/Extensions/Banshee.Fixup/Banshee.Fixup/AlbumDuplicateSolver.cs
+++ b/src/Extensions/Banshee.Fixup/Banshee.Fixup/AlbumDuplicateSolver.cs
@@ -68,7 +68,7 @@ namespace Banshee.Fixup
if (ret == null || (artist as string) == null)
return null;
- ret.ToLower ()
+ ret = ret.ToLower ()
.Replace (" and ", " & ")
.Replace (Catalog.GetString (" and "), " & ")
.Replace (", the", "")
diff --git a/src/Extensions/Banshee.Fixup/Banshee.Fixup/ArtistDuplicateSolver.cs b/src/Extensions/Banshee.Fixup/Banshee.Fixup/ArtistDuplicateSolver.cs
index b852707..4194a71 100644
--- a/src/Extensions/Banshee.Fixup/Banshee.Fixup/ArtistDuplicateSolver.cs
+++ b/src/Extensions/Banshee.Fixup/Banshee.Fixup/ArtistDuplicateSolver.cs
@@ -71,7 +71,7 @@ namespace Banshee.Fixup
if (ret == null)
return null;
- ret.ToLower ()
+ ret = ret.ToLower ()
.Replace (" and ", " & ")
.Replace (Catalog.GetString (" and "), " & ")
.Replace (", the", "")
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]