mirror of
https://github.com/veracrypt/VeraCrypt.git
synced 2025-11-11 19:08: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)
|
while (pos < MAX_PASSWORD)
|
||||||
{
|
{
|
||||||
PrintChar ('*');
|
|
||||||
pos++;
|
pos++;
|
||||||
|
if (pos < MAX_PASSWORD)
|
||||||
|
PrintChar ('*');
|
||||||
|
else
|
||||||
|
PrintCharAtCursor ('*');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user