mirror of
https://github.com/pbatard/rufus.git
synced 2025-05-23 11:17:03 -04:00
[fido] add a log notice to explain why ISO downloads are disabled
* Also fix an issue where Rufus doesn't report an error if 'fmifs.dll' can't be found (#1284) * Also improve GitHub issue template to mention that Ctrl-L can also be used to access the log
This commit is contained in:
parent
77027b40ec
commit
82bb497c1b
6 changed files with 18 additions and 13 deletions
|
@ -720,8 +720,8 @@ static BOOL FormatDrive(DWORD DriveIndex)
|
|||
// problems with tolower(). Make sure we restore the locale. For more details,
|
||||
// see http://comments.gmane.org/gmane.comp.gnu.mingw.user/39300
|
||||
locale = setlocale(LC_ALL, NULL);
|
||||
PF_INIT_OR_OUT(FormatEx, Fmifs);
|
||||
PF_INIT(EnableVolumeCompression, Fmifs);
|
||||
PF_INIT_OR_OUT(FormatEx, fmifs);
|
||||
PF_INIT(EnableVolumeCompression, fmifs);
|
||||
setlocale(LC_ALL, locale);
|
||||
|
||||
GetWindowTextW(hFileSystem, wFSType, ARRAYSIZE(wFSType));
|
||||
|
@ -768,6 +768,8 @@ static BOOL FormatDrive(DWORD DriveIndex)
|
|||
}
|
||||
|
||||
out:
|
||||
if (!r && !IS_ERROR(FormatStatus))
|
||||
FormatStatus = ERROR_SEVERITY_ERROR|FAC(FACILITY_STORAGE)|SCODE_CODE(GetLastError());
|
||||
safe_free(VolumeName);
|
||||
safe_free(wVolumeName);
|
||||
return r;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue