1
0
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:
nova
2026-01-17 18:10:01 +01:00
parent f3a39b0df0
commit 1f1de78283
2 changed files with 13 additions and 33 deletions

2
dir.c
View File

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