deselect_all_files

This commit is contained in:
nova
2026-06-25 00:42:12 +02:00
parent fd2bb01b96
commit 441e02e289
3 changed files with 10 additions and 0 deletions
+7
View File
@@ -317,7 +317,14 @@ void dir_changed(){
}
}
void deselect_all_files() {
unsigned long i;
for (i = 0; i < mid_dir.file_count; i++) {
mid_dir.file_list[i].status &= ~FILE_STATUS_SELECTED;
}
}
void change_dir(char *new_path){
deselect_all_files();
current_linked_dir = list_beginning;
while (current_linked_dir->next != NULL) {