Commit b039995f authored by Francois Cartegnie's avatar Francois Cartegnie

addons: fsstorage: missing check for managed skins files

parent e462e624
......@@ -64,6 +64,9 @@ static int OpenLister ( vlc_object_t * );
static void CloseLister ( vlc_object_t * );
static int LoadCatalog ( addons_finder_t * );
static bool FileBelongsToManagedAddon( addons_finder_t *p_finder,
const addon_type_t e_type,
const char *psz_file );
/*****************************************************************************
* Module descriptor
****************************************************************************/
......@@ -208,6 +211,9 @@ static int ListSkins( addons_finder_t *p_finder )
if( !psz_file )
break;
if ( FileBelongsToManagedAddon( p_finder, ADDON_SKIN2, psz_file ) )
continue;
char *psz_uri;
if( asprintf( &psz_uri, "unzip://%s/%s!/theme.xml", psz_dir, psz_file ) >= 0)
{
......
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