changeset 1492:b2eac4a4a22c trunk

[svn] - oh return TRUE here (duh)
author nenolod
date Fri, 04 Aug 2006 00:49:40 -0700
parents ccf8931ff0bd
children c5bb3813fbd8
files ChangeLog Plugins/General/notify/notify.c
diffstat 2 files changed, 10 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Fri Aug 04 00:49:01 2006 -0700
+++ b/ChangeLog	Fri Aug 04 00:49:40 2006 -0700
@@ -1,3 +1,12 @@
+2006-08-04 07:49:01 +0000  William Pitcock <nenolod@nenolod.net>
+  revision [1896]
+  - don't crash if there's no available tuple
+  
+
+  Changes:        Modified:
+  +3 -0           trunk/Plugins/General/notify/notify.c  
+
+
 2006-08-04 05:54:57 +0000  William Pitcock <nenolod@nenolod.net>
   revision [1894]
   - do things in a less hackish way
--- a/Plugins/General/notify/notify.c	Fri Aug 04 00:49:01 2006 -0700
+++ b/Plugins/General/notify/notify.c	Fri Aug 04 00:49:40 2006 -0700
@@ -63,7 +63,7 @@
 		tuple = playlist_get_tuple(pos);
 
 		if (tuple == NULL)
-			return;
+			return TRUE;
 
 		tmpbuf = g_strdup_printf("<b>%s</b>\n<i>%s</i>\n%s",
 			tuple->performer,