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