Mercurial > audlegacy
changeset 1601:54a210b20190 trunk
[svn] - clean up nhjm449's fix to eliminate warnings. thanks nhjm449!
author | yaz |
---|---|
date | Sat, 26 Aug 2006 23:16:53 -0700 |
parents | 047c8b32c251 |
children | 216049cb827a |
files | ChangeLog Plugins/Container/xspf/xspf.c |
diffstat | 2 files changed, 11 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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 <nhjm449@gmail.com> + revision [2131] + - Streamtitles are fun. + + + Changes: Modified: + +18 -12 trunk/Plugins/General/notify/notify.c + + 2006-08-27 04:36:50 +0000 George Averill <nhjm449@gmail.com> revision [2129] - Don't save empty lengths.
--- 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.