From 58f99eb2cf83724d01dd2940d380e4594b1487fb Mon Sep 17 00:00:00 2001 From: nova Date: Sun, 10 May 2026 20:11:58 +0200 Subject: [PATCH] small correction --- threading.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/threading.c b/threading.c index d321de4..24ac03f 100644 --- a/threading.c +++ b/threading.c @@ -216,7 +216,7 @@ void *thread_rgt(){ rgt_dir.current_file = NULL; } - } else if ((status & STATUS_DELTA_TIME) != STATUS_DELTA_TIME && mid_dir.file_count > 0) { + } else if ((status & STATUS_DELTA_TIME) != STATUS_DELTA_TIME && rgt_dir.file_count > 0) { free(rgt_buffer); @@ -230,6 +230,7 @@ void *thread_rgt(){ /* rendering */ werase(win_r); + wattroff(win_r, A_REVERSE); if (!rgt_dir.current_file) { mvwaddstr(win_r, 0, 0, "not accessible"); }else if (rgt_dir.current_file->file_type == FILE_TYPE_OPEN_FILE) {