From 6652df99a862708fe7528425d006215b83869b84 Mon Sep 17 00:00:00 2001 From: Pierre d'Herbemont Date: Tue, 21 Aug 2007 13:31:22 +0000 Subject: [PATCH] input/meta.c: Better check in ArtCacheCreatePath. --- src/input/meta.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/input/meta.c b/src/input/meta.c index ebf07ca971..e1ef8a4cb7 100644 --- a/src/input/meta.c +++ b/src/input/meta.c @@ -259,7 +259,7 @@ static void __ArtCacheCreatePath( vlc_object_t *p_obj, p_obj->p_libvlc->psz_homedir ); utf8_mkdir( psz_dir ); - if( psz_artist && psz_artist ) + if( !EMPTY_STR(psz_artist) && !EMPTY_STR(psz_album) ) { snprintf( psz_dir, MAX_PATH, "%s" DIR_SEP CONFIG_DIR DIR_SEP "art" DIR_SEP "artistalbum", -- 2.39.2