]> git.sesse.net Git - vlc/commitdiff
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 94f57055abce4b97f27ce15ce63a7d05d0e14f84..e2c73ba58c1d14272f560ce50ddb60ddf99ef283 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 );