From b2330bf4261c65deb9bc672382a7296dfc5295c9 Mon Sep 17 00:00:00 2001 From: Ole Loots Date: Sun, 26 Aug 2012 22:57:55 +0200 Subject: [PATCH] Removed junk... --- atari/settings.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/atari/settings.c b/atari/settings.c index 0c87597d3..010680a80 100644 --- a/atari/settings.c +++ b/atari/settings.c @@ -414,7 +414,7 @@ static char * toolbar_iconset_popup( int x, int y ) snprintf(fullpath, PATH_MAX-1, "%s/%s", toolbar_folder, ep->d_name ); if (is_dir(fullpath)) { if (strcmp(ep->d_name, current) == 0) - selected = navail; + selected = navail; /* store the folder name: */ avail[navail] = malloc( strlen(ep->d_name)+1 ); sprintf( avail[navail], "%s", ep->d_name ); @@ -422,11 +422,6 @@ static char * toolbar_iconset_popup( int x, int y ) if( navail >= MAX_SETS ) break; } - if (stat(fullpath, &statbuf) == 0) { - if (S_ISDIR(statbuf.st_mode)) { - - } - } } (void) closedir (dp); }