mirror of
https://github.com/pbatard/rufus.git
synced 2025-05-20 18:05:21 -04:00
[cmp] Enable extraction of zip archives outside of ISO copy mode
* This enables the use of Ctrl-SELECT to also extract files from a .zip when using non-bootable, DOS, UEFI-NTFS, etc. * Also clean up some uprintf line terminations and some additional code. * Also fix some Coverity and MinGW warnings.
This commit is contained in:
parent
abc33122a0
commit
5eae8a6441
10 changed files with 115 additions and 77 deletions
5
src/ui.c
5
src/ui.c
|
@ -46,7 +46,7 @@ UINT_PTR UM_LANGUAGE_MENU_MAX = UM_LANGUAGE_MENU;
|
|||
HIMAGELIST hUpImageList, hDownImageList;
|
||||
extern BOOL use_vds, appstore_version;
|
||||
extern int imop_win_sel;
|
||||
extern char* unattend_xml_path;
|
||||
extern char *unattend_xml_path, *archive_path;
|
||||
int update_progress_type = UPT_PERCENT;
|
||||
int advanced_device_section_height, advanced_format_section_height;
|
||||
// (empty) check box width, (empty) drop down width, button height (for and without dropdown match)
|
||||
|
@ -1205,6 +1205,9 @@ void InitProgress(BOOL bOnlyFormat)
|
|||
nb_slots[OP_FINALIZE] = ((selection_default == BT_IMAGE) && (fs_type == FS_NTFS)) ? 3 : 2;
|
||||
}
|
||||
}
|
||||
if (archive_path != NULL) {
|
||||
nb_slots[OP_EXTRACT_ZIP] = -1;
|
||||
}
|
||||
|
||||
for (i = 0; i < OP_MAX; i++) {
|
||||
if (nb_slots[i] > 0) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue