commit 65e43a4766d3aa3d9f18cf98ee73482c1b88360f
Author: Raniconduh <clagv.randomgames@gmail.com>
Date: Tue Feb 07 07:44:22 2023 +0000
diff --git a/src/io.c b/src/io.c
index 095ad87..d742fb3 100644
--- a/src/io.c
+++ b/src/io.c
@@ -6778 +6777 @@ void print_file_name(struct dir_entry_t * de, bool highlight) {
if (oneshot) {
char * fcolor = NULL;
- if (cp != COLOR_WHITE) fcolor = ansi_colors[cp];
- if (!color) fcolor = "";
+ if (color && cp != COLOR_WHITE) fcolor = ansi_colors[cp];
if (fcolor) i_puts(fcolor);
i_puts(de->name);