changeset 1822:7e324a23be67 trunk

[svn] - tuples with an mtime of 0 don't need to be checked
author nenolod
date Thu, 05 Oct 2006 02:41:57 -0700
parents bbd774554ae7
children 043143e4578e
files ChangeLog audacious/playlist.c
diffstat 2 files changed, 9 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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 <nenolod@nenolod.net>
+  revision [2599]
+  - revert
+  
+  trunk/audacious/mainwin.c |    2 ++
+  1 file changed, 2 insertions(+)
+
+
 2006-10-05 09:12:02 +0000  William Pitcock <nenolod@nenolod.net>
   revision [2597]
   - the playlist and equalizer windows do not need to redraw themselves constantly, as was in bmp.
--- 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;
     }