# HG changeset patch # User nenolod # Date 1160041317 25200 # Node ID 7e324a23be67025ee7430531f36db04eab291aca # Parent bbd774554ae73dffe741a47ffd5bf60c769fa432 [svn] - tuples with an mtime of 0 don't need to be checked diff -r bbd774554ae7 -r 7e324a23be67 ChangeLog --- a/ChangeLog Thu Oct 05 02:28:23 2006 -0700 +++ b/ChangeLog Thu Oct 05 02:41:57 2006 -0700 @@ -1,3 +1,11 @@ +2006-10-05 09:28:23 +0000 William Pitcock + revision [2599] + - revert + + trunk/audacious/mainwin.c | 2 ++ + 1 file changed, 2 insertions(+) + + 2006-10-05 09:12:02 +0000 William Pitcock revision [2597] - the playlist and equalizer windows do not need to redraw themselves constantly, as was in bmp. diff -r bbd774554ae7 -r 7e324a23be67 audacious/playlist.c --- a/audacious/playlist.c Thu Oct 05 02:28:23 2006 -0700 +++ b/audacious/playlist.c Thu Oct 05 02:41:57 2006 -0700 @@ -1592,7 +1592,7 @@ tuple = entry->tuple; // if no tuple or tuple with old mtime, get new one. - if (!tuple || (entry->tuple->mtime != playlist_get_mtime(entry->filename))) { + if (!tuple || (entry->tuple->mtime > 0 && entry->tuple->mtime != playlist_get_mtime(entry->filename))) { playlist_entry_get_info(entry); tuple = entry->tuple; }