mirror of
https://github.com/RaySollium99/libpicofe.git
synced 2025-09-07 07:38:04 -04:00
fix some warnings
This commit is contained in:
parent
697806c41d
commit
9fba90ac32
5 changed files with 34 additions and 9 deletions
2
menu.c
2
menu.c
|
@ -1161,7 +1161,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