aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/directory.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/directory.c b/src/directory.c
index f8bd00969..a5ef89451 100644
--- a/src/directory.c
+++ b/src/directory.c
@@ -151,7 +151,7 @@ int updateInDirectory(Directory * directory, char * shortname, char * name) {
if(0==findInList(directory->songs,shortname,&song)) {
addToDirectory(directory,shortname,name);
}
- else if(mtime>((Song *)song)->mtime) {
+ else if(mtime!=((Song *)song)->mtime) {
LOG("updating %s\n",name);
updateSongInfo((Song *)song);
}