# HG changeset patch # User yaz # Date 1156659413 25200 # Node ID 54a210b20190fd787d0d014aa588f46e5ff6b232 # Parent 047c8b32c251540de2cfb724211d5a4670ec179b [svn] - clean up nhjm449's fix to eliminate warnings. thanks nhjm449! diff -r 047c8b32c251 -r 54a210b20190 ChangeLog --- a/ChangeLog Sat Aug 26 21:47:26 2006 -0700 +++ b/ChangeLog Sat Aug 26 23:16:53 2006 -0700 @@ -1,3 +1,12 @@ +2006-08-27 04:47:26 +0000 George Averill + revision [2131] + - Streamtitles are fun. + + + Changes: Modified: + +18 -12 trunk/Plugins/General/notify/notify.c + + 2006-08-27 04:36:50 +0000 George Averill revision [2129] - Don't save empty lengths. diff -r 047c8b32c251 -r 54a210b20190 Plugins/Container/xspf/xspf.c --- a/Plugins/Container/xspf/xspf.c Sat Aug 26 21:47:26 2006 -0700 +++ b/Plugins/Container/xspf/xspf.c Sat Aug 26 23:16:53 2006 -0700 @@ -140,7 +140,7 @@ } } - if (tuple->length == NULL) { + if (tuple->length == 0) { tuple->length = -1; } // add file to playlist @@ -266,7 +266,7 @@ xmlAddChild(track, tmp); } - if (entry->tuple->length != NULL && entry->tuple->length != -1) + if (entry->tuple->length > 0) { gchar *str; str = g_malloc(128); // XXX fix me.