Skip to content

Commit

Permalink
2つのパスワードが一致しているかチェック判定修正 #401
Browse files Browse the repository at this point in the history
  • Loading branch information
zmatsuo committed Dec 18, 2024
1 parent 68282be commit bfbc239
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ttssh2/ttxssh/ssh.c
Original file line number Diff line number Diff line change
Expand Up @@ -7532,7 +7532,7 @@ static INT_PTR CALLBACK passwd_change_dialog(HWND dlg, UINT msg, WPARAM wParam,
SendMessage(GetDlgItem(dlg, IDC_NEW_PASSWD), WM_GETTEXT , sizeof(new_passwd), (LPARAM)new_passwd);
SendMessage(GetDlgItem(dlg, IDC_CONFIRM_PASSWD), WM_GETTEXT , sizeof(retype_passwd), (LPARAM)retype_passwd);

if (strcmp(new_passwd, retype_passwd) == 1) {
if (strcmp(new_passwd, retype_passwd) != 0) {
UTIL_get_lang_msg("MSG_PASSCHG_MISMATCH", pvar, "Mismatch; try again.");
MessageBox(NULL, pvar->UIMsg, "ERROR", MB_OK | MB_ICONEXCLAMATION);
return FALSE;
Expand Down

0 comments on commit bfbc239

Please sign in to comment.