mirror of
https://github.com/pbatard/rufus.git
synced 2025-05-19 09:25:12 -04:00
[misc] fix issues with unpartitioned drives and bad blocks reports
* Listing an unpartitioned could result in all controls besides drive selection dropdown being blank * The bad blocks report was not displaying the right values * Also update version to Rufus next
This commit is contained in:
parent
027d0d7c3a
commit
b343d9b86d
8 changed files with 64 additions and 58 deletions
|
@ -196,6 +196,7 @@ char* SizeToHumanReadable(uint64_t size, BOOL log, BOOL fake_units)
|
|||
const char* _StrError(DWORD error_code)
|
||||
{
|
||||
if ( (!IS_ERROR(error_code)) || (SCODE_CODE(error_code) == ERROR_SUCCESS)) {
|
||||
// TODO: this message is wrong!
|
||||
return lmprintf(MSG_044);
|
||||
}
|
||||
if (SCODE_FACILITY(error_code) != FACILITY_STORAGE) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue