From bfbc2399200d64fe5595c8d92ba6532b91b89528 Mon Sep 17 00:00:00 2001 From: zmatsuo <6488847+zmatsuo@users.noreply.github.com> Date: Wed, 18 Dec 2024 12:02:05 +0900 Subject: [PATCH] =?UTF-8?q?2=E3=81=A4=E3=81=AE=E3=83=91=E3=82=B9=E3=83=AF?= =?UTF-8?q?=E3=83=BC=E3=83=89=E3=81=8C=E4=B8=80=E8=87=B4=E3=81=97=E3=81=A6?= =?UTF-8?q?=E3=81=84=E3=82=8B=E3=81=8B=E3=83=81=E3=82=A7=E3=83=83=E3=82=AF?= =?UTF-8?q?=E5=88=A4=E5=AE=9A=E4=BF=AE=E6=AD=A3=20#401?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ttssh2/ttxssh/ssh.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ttssh2/ttxssh/ssh.c b/ttssh2/ttxssh/ssh.c index 345c15e75..b66447492 100644 --- a/ttssh2/ttxssh/ssh.c +++ b/ttssh2/ttxssh/ssh.c @@ -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;