commit ad181cc599646b87cf03eb1b2783493d42e4d349
Author: Raniconduh <clagv.randomgames@gmail.com>
Date: Fri Jan 07 12:07:30 2022 +0000
diff --git a/src/io.c b/src/io.c
index 85172c0..4a30b52 100644
--- a/src/io.c
+++ b/src/io.c
@@ -1049 +1046 @@ void curses_write_file(struct dir_entry_t * dir_entry, bool highlight) {
case FILE_DIR:
cp = BLUE;
f_ident = '/';
-#if ICONS
- icon = ICON_DIR;
-#endif
break;
case FILE_FIFO:
cp = YELLOW;
@@ -1526 +1497 @@ void curses_write_file(struct dir_entry_t * dir_entry, bool highlight) {
if (!icon && show_icons) {
icon = get_icon(dir_entry->name);
}
+ if (!icon && dir_entry->file_type == FILE_DIR) icon = ICON_DIR;
#endif
if ((dir_entry->mode & POWNER(M_EXEC)) &&