uxn

Varvara Ordinator, written in ANSI C(SDL2)
git clone https://git.eamoncaddigan.net/uxn.git
Log | Files | Refs | README | LICENSE

commit 60080d8fe835f9a19227f3f2e32ed4b332a551f4
parent c61be654d6d7c6269f9a4835f966a23ee9a980a4
Author: Devine Lu Linvega <aliceffekt@gmail.com>
Date:   Fri, 17 Feb 2023 10:08:00 -0800

(file device)Add / suffix to folder names

Diffstat:
Msrc/devices/file.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/devices/file.c b/src/devices/file.c @@ -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