mirror of
https://github.com/veracrypt/VeraCrypt
synced 2024-11-10 13:13:34 +01:00
Windows Bootloader: Avoid displaying empty new line between password and PIM after filling password field with dummy '*'.
This commit is contained in:
parent
c53fd7ef0c
commit
ec7d96fcb7
@ -173,8 +173,11 @@ static byte AskPassword (Password &password, int& pim)
|
||||
{
|
||||
while (pos < MAX_PASSWORD)
|
||||
{
|
||||
PrintChar ('*');
|
||||
pos++;
|
||||
if (pos < MAX_PASSWORD)
|
||||
PrintChar ('*');
|
||||
else
|
||||
PrintCharAtCursor ('*');
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user