mirror of
https://github.com/pbatard/rufus.git
synced 2025-06-02 07:39:54 -04:00
[checksum] enable toggling of SHA512 (Alt-H)
* Also fix overflow digest test into message length * Also switch log font to Consolas * Also update version to rufus-next
This commit is contained in:
parent
e011cc8201
commit
2d6a73e4f4
11 changed files with 87 additions and 53 deletions
|
@ -389,7 +389,7 @@ char* lmprintf(uint32_t msg_id, ...)
|
|||
pos += sizeof(RIGHT_TO_LEFT_EMBEDDING) - 1;
|
||||
}
|
||||
va_start(args, msg_id);
|
||||
safe_vsnprintf(&buf[buf_id][pos], LOC_MESSAGE_SIZE- 1 - 2*pos, format, args);
|
||||
safe_vsnprintf(&buf[buf_id][pos], LOC_MESSAGE_SIZE - 1 - 2*pos, format, args);
|
||||
va_end(args);
|
||||
if (right_to_left_mode && (msg_table != default_msg_table)) {
|
||||
safe_strcat(buf[buf_id], LOC_MESSAGE_SIZE - 1, POP_DIRECTIONAL_FORMATTING);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue