# HG changeset patch # User giacomo # Date 1179824211 25200 # Node ID 149fc284aa866ba0713fe1c2c9f81c36d29606f0 # Parent 61723217c8cc67b91ac00512dced35388f1a6d64 [svn] - statusicon: strenghten checks before last strcmp in si_ui_statusicon_cb_hook_tchange diff -r 61723217c8cc -r 149fc284aa86 ChangeLog --- a/ChangeLog Mon May 21 16:34:55 2007 -0700 +++ b/ChangeLog Tue May 22 01:56:51 2007 -0700 @@ -1,3 +1,10 @@ +2007-05-21 23:34:55 +0000 Tony Vroon + revision [2270] + Isn't that cute. But it's WRONG + trunk/src/modplug/modplug.cxx | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + + 2007-05-21 23:32:42 +0000 Tony Vroon revision [2268] dnl CD-Audio New Generation; you need to add cdaudio-ng to INPUT_PLUGINS if CDIO_LIBS is set. Or something like that. Good luck. diff -r 61723217c8cc -r 149fc284aa86 src/statusicon/si_ui.c --- a/src/statusicon/si_ui.c Mon May 21 16:34:55 2007 -0700 +++ b/src/statusicon/si_ui.c Tue May 22 01:56:51 2007 -0700 @@ -261,7 +261,9 @@ prevs->filename = g_strdup(pl_entry->filename); } } - else if ( ( prevs->title != NULL ) && ( strcmp(pl_entry->title,prevs->title) ) ) + else if ( ( prevs->title != NULL ) && + ( pl_entry->title != NULL ) && + ( strcmp(pl_entry->title,prevs->title) ) ) { g_free(prevs->title); prevs->title = g_strdup(pl_entry->title);