1
1
Fork 0
mirror of https://github.com/pbatard/rufus.git synced 2024-08-14 23:57:05 +00:00

[misc] fix WDK compilation

This commit is contained in:
Pete Batard 2015-10-22 23:20:50 +01:00
parent a5de551d98
commit 621d1cae16
4 changed files with 17 additions and 14 deletions

View file

@ -2,9 +2,11 @@ o Version 2.5 (2015.10.??)
Add SHA-256 checksum verification Add SHA-256 checksum verification
Add a cheat mode to disable exclusive USB drive locking (Alt-,) Add a cheat mode to disable exclusive USB drive locking (Alt-,)
Add digital signature check on update downloads Add digital signature check on update downloads
Fix an where the update settings dialog may not display properly Add Azerbaijani translation, courtesy of Elvin Məlikov
Add Persian translation, courtesy of سید ضیاءالدین عظیمی (ziaa)
Fix an issue where the update settings dialog may not display properly
Report Windows build number in the log (Windows 8 or later) Report Windows build number in the log (Windows 8 or later)
Localization improvements Many localization improvements and fixes, especially for right-to-left languages
Additional translation updates Additional translation updates
o Version 2.4 (2015.09.27) o Version 2.4 (2015.09.27)

View file

@ -76,7 +76,7 @@ static const char* install_wim_path = "/sources";
static const char* install_wim_name[] = { "install.wim", "install.swm" }; static const char* install_wim_name[] = { "install.wim", "install.swm" };
static const char* grub_dirname = "/boot/grub"; // NB: We don't support nonstandard config dir such as AROS' "/boot/pc/grub/" static const char* grub_dirname = "/boot/grub"; // NB: We don't support nonstandard config dir such as AROS' "/boot/pc/grub/"
static const char* grub_cfg = "grub.cfg"; static const char* grub_cfg = "grub.cfg";
static const char* syslinux_cfg[] = { "isolinux.cfg", "syslinux.cfg", "extlinux.conf"}; static const char* syslinux_cfg[] = { "isolinux.cfg", "syslinux.cfg", "extlinux.conf" };
static const char dot_isolinux_bin[] = ".\\isolinux.bin"; static const char dot_isolinux_bin[] = ".\\isolinux.bin";
static const char* isolinux_bin = &dot_isolinux_bin[2]; static const char* isolinux_bin = &dot_isolinux_bin[2];
static const char* pe_dirname[] = { "/i386", "/minint" }; static const char* pe_dirname[] = { "/i386", "/minint" };
@ -228,7 +228,7 @@ static BOOL check_iso_props(const char* psz_dirname, int64_t i_file_length, cons
// Compute projected size needed // Compute projected size needed
total_blocks += i_file_length/UDF_BLOCKSIZE; total_blocks += i_file_length/UDF_BLOCKSIZE;
// NB: ISO_BLOCKSIZE = UDF_BLOCKSIZE // NB: ISO_BLOCKSIZE = UDF_BLOCKSIZE
if ((i_file_length != 0) && (i_file_length%ISO_BLOCKSIZE == 0)) // if ((i_file_length != 0) && (i_file_length%ISO_BLOCKSIZE == 0))
total_blocks++; total_blocks++;
return TRUE; return TRUE;
} }

View file

@ -381,9 +381,10 @@ char* lmprintf(uint32_t msg_id, ...)
static char buf[LOC_MESSAGE_NB][LOC_MESSAGE_SIZE]; static char buf[LOC_MESSAGE_NB][LOC_MESSAGE_SIZE];
char *format = NULL; char *format = NULL;
va_list args; va_list args;
BOOL needs_rtf_rtl_marks = (msg_id & MSG_RTF) && right_to_left_mode;
buf_id %= LOC_MESSAGE_NB; buf_id %= LOC_MESSAGE_NB;
buf[buf_id][0] = 0; buf[buf_id][0] = 0;
BOOL needs_rtf_rtl_marks = (msg_id & MSG_RTF) && right_to_left_mode;
msg_id &= MSG_MASK; msg_id &= MSG_MASK;
if ((msg_id > MSG_000) && (msg_id < MSG_MAX)) { if ((msg_id > MSG_000) && (msg_id < MSG_MAX)) {

View file

@ -32,7 +32,7 @@ LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
IDD_DIALOG DIALOGEX 12, 12, 242, 376 IDD_DIALOG DIALOGEX 12, 12, 242, 376
STYLE DS_SETFONT | DS_MODALFRAME | DS_CENTER | WS_MINIMIZEBOX | WS_POPUP | WS_CAPTION | WS_SYSMENU STYLE DS_SETFONT | DS_MODALFRAME | DS_CENTER | WS_MINIMIZEBOX | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Rufus 2.5.792" CAPTION "Rufus 2.5.793"
FONT 8, "Segoe UI Symbol", 400, 0, 0x0 FONT 8, "Segoe UI Symbol", 400, 0, 0x0
BEGIN BEGIN
LTEXT "Device",IDS_DEVICE_TXT,9,6,200,8 LTEXT "Device",IDS_DEVICE_TXT,9,6,200,8
@ -319,8 +319,8 @@ END
// //
VS_VERSION_INFO VERSIONINFO VS_VERSION_INFO VERSIONINFO
FILEVERSION 2,5,792,0 FILEVERSION 2,5,793,0
PRODUCTVERSION 2,5,792,0 PRODUCTVERSION 2,5,793,0
FILEFLAGSMASK 0x3fL FILEFLAGSMASK 0x3fL
#ifdef _DEBUG #ifdef _DEBUG
FILEFLAGS 0x1L FILEFLAGS 0x1L
@ -337,13 +337,13 @@ BEGIN
BEGIN BEGIN
VALUE "CompanyName", "Akeo Consulting (http://akeo.ie)" VALUE "CompanyName", "Akeo Consulting (http://akeo.ie)"
VALUE "FileDescription", "Rufus" VALUE "FileDescription", "Rufus"
VALUE "FileVersion", "2.5.792" VALUE "FileVersion", "2.5.793"
VALUE "InternalName", "Rufus" VALUE "InternalName", "Rufus"
VALUE "LegalCopyright", "© 2011-2015 Pete Batard (GPL v3)" VALUE "LegalCopyright", "© 2011-2015 Pete Batard (GPL v3)"
VALUE "LegalTrademarks", "http://www.gnu.org/copyleft/gpl.html" VALUE "LegalTrademarks", "http://www.gnu.org/copyleft/gpl.html"
VALUE "OriginalFilename", "rufus.exe" VALUE "OriginalFilename", "rufus.exe"
VALUE "ProductName", "Rufus" VALUE "ProductName", "Rufus"
VALUE "ProductVersion", "2.5.792" VALUE "ProductVersion", "2.5.793"
END END
END END
BLOCK "VarFileInfo" BLOCK "VarFileInfo"