Removed junk...

This commit is contained in:
Ole Loots 2012-08-26 22:57:55 +02:00
parent b2d810c177
commit b2330bf426

View File

@ -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);
}