# HG changeset patch # User deitarion # Date 1154846594 25200 # Node ID 2a8e193c07a6ed0bf271c27db2c565b20e6bad38 # Parent a81b4b6556855e8a7468a8f8304848972453f463 [svn] Fix the test for whether a notification is necessary diff -r a81b4b655685 -r 2a8e193c07a6 ChangeLog --- a/ChangeLog Sat Aug 05 22:55:11 2006 -0700 +++ b/ChangeLog Sat Aug 05 23:43:14 2006 -0700 @@ -1,3 +1,12 @@ +2006-08-06 05:55:11 +0000 William Pitcock + revision [1924] + - fix! + + + Changes: Modified: + +1 -1 trunk/Plugins/General/notify/notify.c + + 2006-08-05 22:10:37 +0000 Tony Vroon revision [1922] Updated german translation by Michael Hanselmann : 988 translated messages, 2 untranslated messages. diff -r a81b4b655685 -r 2a8e193c07a6 Plugins/General/notify/notify.c --- a/Plugins/General/notify/notify.c Sat Aug 05 22:55:11 2006 -0700 +++ b/Plugins/General/notify/notify.c Sat Aug 05 23:43:14 2006 -0700 @@ -63,9 +63,9 @@ gint pos = playlist_get_position(); gchar *title = playlist_get_songtitle(pos); - if (pos != notify_playlist_pos || - (title != NULL && previous_title != NULL && - g_strcasecmp(title, previous_title))) + if ((title != NULL && previous_title != NULL && + g_strcasecmp(title, previous_title)) || + (title == NULL && pos != notify_playlist_pos)) { gchar *tmpbuf; TitleInput *tuple;