mirror of
https://github.com/veracrypt/VeraCrypt.git
synced 2026-10-11 10:59:56 -05:00
Windows Bootloader: Avoid displaying empty new line between password and PIM after filling password field with dummy '*'.
This commit is contained in:
1 parent
c53fd7ef0c
commit
ec7d96fcb7
1 file changed
+4
-1
@@ -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