From bd855396be2a3e18dd54c2a56704ea2db4505b11 Mon Sep 17 00:00:00 2001 From: night0721 Date: Thu, 14 Mar 2024 15:41:31 +0000 Subject: [PATCH] remove unncessary color attron --- ccc.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/ccc.c b/ccc.c index b1d1b6e..28ba6c4 100644 --- a/ccc.c +++ b/ccc.c @@ -489,7 +489,6 @@ void highlight_current_line() for (long i = overflow; i < range; i++) { if ((overflow == 0 && i == current_selection) || (overflow != 0 && i == current_selection)) { wattron(directory_content, A_REVERSE); - wattron(directory_content, COLOR_PAIR(5)); /* update the panel */ wclear(panel); @@ -508,7 +507,6 @@ void highlight_current_line() wattroff(directory_content, A_REVERSE); wattroff(directory_content, COLOR_PAIR(color)); - wattroff(directory_content, COLOR_PAIR(5)); free(line); line_count++; }