mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-11-24 15:29:45 +03:00
Removed junk...
This commit is contained in:
parent
b2d810c177
commit
b2330bf426
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user