small correction

This commit is contained in:
nova
2026-05-10 20:11:58 +02:00
parent 673c7e5414
commit 58f99eb2cf

View File

@@ -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) {