meta.c: Fix the boolean expression. (I should get some sleep 2)
authorPierre d'Herbemont <pdherbemont@videolan.org>
Sat, 18 Aug 2007 14:08:34 +0000 (14:08 +0000)
committerPierre d'Herbemont <pdherbemont@videolan.org>
Sat, 18 Aug 2007 14:08:34 +0000 (14:08 +0000)
src/input/meta.c

index 94f5705..e2c73ba 100644 (file)
@@ -334,7 +334,7 @@ int input_DownloadAndCacheArt( playlist_t *p_playlist, input_item_t *p_item )
     else if( p_item->psz_name )
         psz_title = ArtCacheCreateString( p_item->psz_name );
 
-    if( !psz_title || ( !psz_artist && !psz_album) )
+    if( !psz_title && (!psz_artist || !psz_album) )
     {
         free( psz_title );
         free( psz_album );