mirror of
https://gittea.dev/nova/th.git
synced 2026-01-30 16:50:10 -05:00
-fsanitize=address related stuff
This commit is contained in:
2
dir.c
2
dir.c
@@ -327,7 +327,7 @@ char update_selected_file(){
|
||||
if (selected_file_current >= mid_file_count) {
|
||||
selected_file_current = mid_file_count-1;
|
||||
}
|
||||
if (selected_file_current != selected_file_last) {
|
||||
if (selected_file_current != selected_file_last && selected_file_last <= mid_file_count) {
|
||||
mid_content[selected_file_last].status &= ~FILE_STATUS_HOVER;
|
||||
ret = 1;
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user