[MPlayer-cvslog] r38267 - trunk/gui/dialog/skinbrowser.c

ib subversion at mplayerhq.hu
Fri Feb 26 16:09:16 EET 2021


Author: ib
Date: Fri Feb 26 16:09:15 2021
New Revision: 38267

Log:
Reduce the array of strings to what is necessary.

Modified:
   trunk/gui/dialog/skinbrowser.c

Modified: trunk/gui/dialog/skinbrowser.c
==============================================================================
--- trunk/gui/dialog/skinbrowser.c	Fri Feb 26 16:08:03 2021	(r38266)
+++ trunk/gui/dialog/skinbrowser.c	Fri Feb 26 16:09:15 2021	(r38267)
@@ -167,7 +167,7 @@ void ShowSkinBrowser( void )
 
 int FillSkinList( gchar * mdir )
 {
- gchar         * str[2];
+ gchar         * str[1];
  gchar         * tmp;
  size_t          i;
  glob_t          gg;
@@ -176,9 +176,6 @@ int FillSkinList( gchar * mdir )
  gtkOldSkin=strdup( skinName );
  prev=gtkOldSkin;
 
- str[0]="default";
- str[1]="";
-
  glob( mdir,GLOB_NOSORT,NULL,&gg );
  for( i=0;i<gg.gl_pathc;i++ )
   {


More information about the MPlayer-cvslog mailing list