| 660 | } |
| 661 | |
| 662 | static void fileBrowserHandleFile(FileListEntry *file_entry) { |
| 663 | snprintf(cur_file, MAX_PATH_LENGTH, "%s%s", file_list.path, file_entry->name); |
| 664 | int type = handleFile(cur_file, file_entry); |
| 665 | |
| 666 | // Archive mode |
| 667 | if (type == FILE_TYPE_ARCHIVE && getDialogStep() != DIALOG_STEP_ENTER_PASSWORD) { |
| 668 | is_in_archive = 1; |
| 669 | dir_level_archive = dir_level; |
| 670 | |
| 671 | snprintf(archive_path, MAX_PATH_LENGTH, "%s%s", file_list.path, file_entry->name); |
| 672 | |
| 673 | strcat(file_list.path, file_entry->name); |
| 674 | addEndSlash(file_list.path); |
| 675 | |
| 676 | dirLevelUp(); |
| 677 | refreshFileList(); |
| 678 | } |
| 679 | } |
| 680 | |
| 681 | static void fileBrowserHandleFolder(FileListEntry *file_entry) { |
| 682 | if (strcmp(file_entry->name, DIR_UP) == 0) { |
no test coverage detected