mirror of
https://github.com/pbatard/rufus.git
synced 2025-05-20 09:55:11 -04:00
[misc] introduce hImageOption and ComboBox_GetCurItemData() to simplify code
* Also add retry to ms-sys' write_sectors()
This commit is contained in:
parent
09d2f2f0ab
commit
4617f91e3b
9 changed files with 60 additions and 60 deletions
|
@ -414,7 +414,7 @@ BOOL ExtractFreeDOS(const char* path)
|
|||
|
||||
BOOL ExtractDOS(const char* path)
|
||||
{
|
||||
switch(ComboBox_GetItemData(hBootType, ComboBox_GetCurSel(hBootType))) {
|
||||
switch(ComboBox_GetCurItemData(hBootType)) {
|
||||
case BT_MSDOS:
|
||||
return ExtractMSDOS(path);
|
||||
case BT_FREEDOS:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue