[Muine] [PATCH] checked_cover_image weirdness?



I was experiencing an issue wherein after FetchAlbumCover, and Proxy is
called, checked_cover_image is always true.  Even when a new album cover
had been found.  The first few lines of Proxy checks the value of
checked_cover_image and bail if it is not found.  From looking at the
code, I wasn't sure why this check existed.  Since I couldn't seem to
find a good reason, I removed the check.  Now everything seems to work
fine.

Comments?
  - Sam
-- 
"Mantra: 'Everything is a stream of bytes.'  Repeat until enlightened." 
	- Linus Torvalds 

diff -ru tmp/muine-0.3.0-pre2/src/Song.cs muine-0.3.0-pre2/src/Song.cs
--- tmp/muine-0.3.0-pre2/src/Song.cs	2004-01-27 11:21:09.000000000 -0800
+++ muine-0.3.0-pre2/src/Song.cs	2004-01-27 17:09:42.000000000 -0800
@@ -185,11 +185,6 @@
 
 	private bool Proxy ()
 	{
-		if (checked_cover_image == true) {
-			tmp_cover_image = null;
-			return false;
-		}
-
 		checked_cover_image = true;
 
 		Muine.DB.UpdateSong (this);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]