Commit 965b82cc authored by Antoine Cellerier's avatar Antoine Cellerier

Don't print the "googleimage.lua: didn't return a string" message if the function returned nil.

parent 9c767262
......@@ -178,7 +178,7 @@ static int fetch_art( vlc_object_t *p_this, const char * psz_filename,
i_ret = VLC_SUCCESS;
}
}
else
else if( !lua_isnil( p_state, s ) )
{
msg_Err( p_this, "Lua art fetcher script %s: "
"didn't return a string", psz_filename );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment