mirror of
https://git.sr.ht/~rabbits/uxn
synced 2024-11-30 09:43:02 +00:00
(file device)Add / suffix to folder names
This commit is contained in:
parent
c61be654d6
commit
60080d8fe8
1 changed files with 1 additions and 1 deletions
|
@ -70,7 +70,7 @@ get_entry(char *p, Uint16 len, const char *pathname, const char *basename, int f
|
|||
if(stat(pathname, &st))
|
||||
return fail_nonzero ? sprintf(p, "!!!! %s\n", basename) : 0;
|
||||
else if(S_ISDIR(st.st_mode))
|
||||
return sprintf(p, "---- %s\n", basename);
|
||||
return sprintf(p, "---- %s/\n", basename);
|
||||
else if(st.st_size < 0x10000)
|
||||
return sprintf(p, "%04x %s\n", (unsigned int)st.st_size, basename);
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue