add comment before arraylist_add

This commit is contained in:
Oscar Fu 2024-04-06 22:09:14 +01:00 committed by Palanix
parent 10a7663d0b
commit e270bf0e14
No known key found for this signature in database
GPG key ID: 439CD6BD9905FAC5

1
ccc.c
View file

@ -684,6 +684,7 @@ void add_file_stat(char *filename, char *path, int ftype)
char *total_stat = memalloc(stat_size);
snprintf(total_stat, stat_size, "%s %s %-*s", mode_str, time, size_size, size);
/* DIR if color is 5 */
if (color == 5)
arraylist_add(tmp1, filename, path, total_stat, type, icon_str, color, false, false);
else