small correction
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user