diff --git a/src/rufus.c b/src/rufus.c index df136266..180c28be 100644 --- a/src/rufus.c +++ b/src/rufus.c @@ -226,7 +226,7 @@ static BOOL DefineClusterSizes(void) * * FAT32 * 31M : N/A - * 63M : N/A (NB unlike MS, we're allowing 512-512 here - UNTESTED) + * 63M : N/A (NB unlike MS, we're allowing 512-512 here) * 127M : 512 - 1024 * 255M : 512 - 2048 * 511M : 512 - 4096 @@ -239,7 +239,6 @@ static BOOL DefineClusterSizes(void) * 63GB : 16k - 64k ...but we can go higher using fat32format from RidgeCrop. * 2TB+ : N/A * - * TODO: 256MB FAT32 + 4K clusters -> unsupported cluster size */ // FAT 16 diff --git a/src/rufus.rc b/src/rufus.rc index 299e3aa9..8ec617f4 100644 --- a/src/rufus.rc +++ b/src/rufus.rc @@ -32,7 +32,7 @@ LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL IDD_DIALOG DIALOGEX 12, 12, 206, 329 STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Rufus 1.4.7.450" +CAPTION "Rufus 1.4.7.451" FONT 8, "MS Shell Dlg", 400, 0, 0x1 BEGIN DEFPUSHBUTTON "Start",IDC_START,94,291,50,14 @@ -165,7 +165,7 @@ END RTL_IDD_DIALOG DIALOGEX 12, 12, 206, 329 STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU EXSTYLE WS_EX_RTLREADING | WS_EX_APPWINDOW | WS_EX_LAYOUTRTL -CAPTION "Rufus 1.4.7.450" +CAPTION "Rufus 1.4.7.451" FONT 8, "MS Shell Dlg", 400, 0, 0x1 BEGIN DEFPUSHBUTTON "Start",IDC_START,94,291,50,14 @@ -427,8 +427,8 @@ END // VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,4,7,450 - PRODUCTVERSION 1,4,7,450 + FILEVERSION 1,4,7,451 + PRODUCTVERSION 1,4,7,451 FILEFLAGSMASK 0x3fL #ifdef _DEBUG FILEFLAGS 0x1L @@ -445,13 +445,13 @@ BEGIN BEGIN VALUE "CompanyName", "Akeo Consulting (http://akeo.ie)" VALUE "FileDescription", "Rufus" - VALUE "FileVersion", "1.4.7.450" + VALUE "FileVersion", "1.4.7.451" VALUE "InternalName", "Rufus" VALUE "LegalCopyright", "© 2011-2014 Pete Batard (GPL v3)" VALUE "LegalTrademarks", "http://www.gnu.org/copyleft/gpl.html" VALUE "OriginalFilename", "rufus.exe" VALUE "ProductName", "Rufus" - VALUE "ProductVersion", "1.4.7.450" + VALUE "ProductVersion", "1.4.7.451" END END BLOCK "VarFileInfo" diff --git a/src/stdio.c b/src/stdio.c index 9f7f3ef1..5a6b98dd 100644 --- a/src/stdio.c +++ b/src/stdio.c @@ -162,7 +162,7 @@ static __inline uint16_t upo2(uint16_t v) // Convert a size to human readable char* SizeToHumanReadable(uint64_t size, BOOL log, BOOL fake_units) { - int suffix = 0; + int suffix; static char str_size[32]; double hr_size = (double)size; double t; @@ -170,11 +170,10 @@ char* SizeToHumanReadable(uint64_t size, BOOL log, BOOL fake_units) char **_msg_table = log?default_msg_table:msg_table; const double divider = fake_units?1000.0:1024.0; - for (suffix=1; suffix