Thumbnail

rani/cscroll.git

Clone URL: https://git.buni.party/rani/cscroll.git

commit f1a2d557227216cbafa2f12fd631cd0a87fed7be Author: Raniconduh <clagv.randomgames@gmail.com> Date: Thu Jan 12 21:29:22 2023 +0000 fix wrong fstring remove %.o diff --git a/Makefile b/Makefile index c56d8f3..6394d67 100644 --- a/Makefile +++ b/Makefile @@ -147 +147 @@ all: ${BIN}  ${BIN}: ${OBJ}   ${CC} ${CFLAGS} ${OBJ} -o $@ ${LDFLAGS}   -%.o: +src/.c.o:   ${CC} -c ${CFLAGS} $<    clean: diff --git a/src/io.c b/src/io.c index 97a3331..a74507e 100644 --- a/src/io.c +++ b/src/io.c @@ -1797 +1797 @@ void curses_write_file(struct dir_entry_t * dir_entry, bool highlight) {   n = strlen(group);   if (n < dir_longest_group) padstr(dir_longest_group - n);   - printw(" %4d %-2s %s ", + printw(" %4lu %-2s %s ",   dir_entry->size, size, time);   free(smode);   }