VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/Library/PasswordLib/PicturePassword.c
diff options
context:
space:
mode:
Diffstat (limited to 'Library/PasswordLib/PicturePassword.c')
-rw-r--r--Library/PasswordLib/PicturePassword.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/PasswordLib/PicturePassword.c b/Library/PasswordLib/PicturePassword.c
index 4e46f47..b2d8fad 100644
--- a/Library/PasswordLib/PicturePassword.c
+++ b/Library/PasswordLib/PicturePassword.c
@@ -657,7 +657,7 @@ AskPictPwdInt(
DrawTouchZone(&TZN_SC);
}
- if (curPrevX != curX || curPrevY != curY) {
+ if ((curPrevX != curX || curPrevY != curY) && (EventIndex != 2)) {
DrawCursor(bltScrn, curX, curY);
showCursor = TRUE;
}