Permalink
Browse files

podcast/podcastlist.c: Compare pointer to NULL, not FALSE

  • Loading branch information...
1 parent 2188206 commit dd721b00b2bd92557ff872969fee2ed1fe645696 @krumberg krumberg committed Apr 14, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/libs/podcast/podcastlist.c
@@ -133,7 +133,7 @@ static PodcastTrack* podcastlist_get_podcast_track(PodcastList* list, const gcha
gboolean podcastlist_is_podcast_track(PodcastList* list, const gchar* folder_and_track)
{
- return (FALSE != podcastlist_get_podcast_track(list, folder_and_track));
+ return (podcastlist_get_podcast_track(list, folder_and_track) != NULL);
}
void podcastlist_foreach_trackname_in_folder(PodcastList* list, const gchar* name,

0 comments on commit dd721b0

Please sign in to comment.