plugin sliding puzzle fix unneeded check
Change-Id: Iab345d2ec490311fc8a5482c52dbed14f5e11070
This commit is contained in:
parent
e1c5a3e296
commit
e75e07e1b6
1 changed files with 2 additions and 2 deletions
|
@ -468,8 +468,8 @@ static const char * initial_bmp_path=NULL;
|
||||||
static const char * get_albumart_bmp_path(void)
|
static const char * get_albumart_bmp_path(void)
|
||||||
{
|
{
|
||||||
struct mp3entry* track = rb->audio_current_track();
|
struct mp3entry* track = rb->audio_current_track();
|
||||||
|
/* Note rb->audio_current_track->path should never be null */
|
||||||
if (!track || !track->path || track->path[0] == '\0')
|
if (!track || track->path[0] == '\0')
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
if (!rb->search_albumart_files(track, "", albumart_path, MAX_PATH ) )
|
if (!rb->search_albumart_files(track, "", albumart_path, MAX_PATH ) )
|
||||||
|
|
Loading…
Reference in a new issue