Don't print Backspace as we print nothing

This commit is contained in:
Gary Ching-Pang Lin 2012-10-02 18:17:29 +08:00
parent 3b8cc123ce
commit 27129e60a6

View File

@ -453,7 +453,6 @@ static UINT8 get_password (UINT32 *length, CHAR16 *password)
if (count == 0 && key.UnicodeChar == CHAR_BACKSPACE) {
continue;
} else if (key.UnicodeChar == CHAR_BACKSPACE) {
Print(L"%c", CHAR_BACKSPACE);
input[--count] = '\0';
continue;
}