mirror of
https://github.com/RaySollium99/libpicofe.git
synced 2025-09-06 23:28:04 -04:00
commit
b202518cd3
8 changed files with 61 additions and 16 deletions
2
menu.c
2
menu.c
|
@ -1152,7 +1152,7 @@ rescan:
|
|||
} else {
|
||||
strcpy(newdir, curr_path);
|
||||
p = newdir + strlen(newdir) - 1;
|
||||
while (*p == '/' && p >= newdir) *p-- = 0;
|
||||
while (p >= newdir && *p == '/') *p-- = 0;
|
||||
strcat(newdir, "/");
|
||||
strcat(newdir, namelist[sel]->d_name);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue