fixup! Provide more space for challenge dialog text

pull/469/head
Selva Nair 2021-11-28 18:58:31 -05:00
parent 2d7f929d6a
commit 6c6cfec263
1 changed files with 1 additions and 1 deletions

View File

@ -648,7 +648,7 @@ GenericPassDialogFunc(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam)
if (param->flags & FLAG_CR_ECHO)
SendMessage(GetDlgItem(hwndDlg, ID_EDT_RESPONSE), EM_SETPASSWORDCHAR, 0, 0);
/* Resize Window if text if challenge text is long */
/* Rendered size of challenge text and window rectangle */
SIZE sz = {0};
RECT rect = {0};
HDC hdc = GetDC(GetDlgItem(hwndDlg, ID_TXT_DESCRIPTION));