changeset 4184:4b4810391b05

Make sure "if (pr)" doesn't get optimized out. (Bugzilla #30)
author William Pitcock <nenolod@atheme.org>
date Sat, 12 Jan 2008 06:35:23 -0600
parents bd45235ed618
children d52fe5ff19a4
files src/audacious/playlist.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/audacious/playlist.c	Fri Jan 11 11:46:33 2008 -0600
+++ b/src/audacious/playlist.c	Sat Jan 12 06:35:23 2008 -0600
@@ -221,7 +221,7 @@
 
     if (entry->decoder == NULL) {
         pr = input_check_file(entry->filename, FALSE);
-        if (pr)
+        if (pr != NULL)
             entry->decoder = pr->ip;
     }