diff options
author | Tobias Weimer <wishmaster51@googlemail.com> | 2015-08-09 10:47:43 +0000 |
---|---|---|
committer | Tobias Weimer <wishmaster51@googlemail.com> | 2015-08-09 10:47:43 +0000 |
commit | 6dde4172bb2a84ca76a2e6541f6788ab613797ab (patch) | |
tree | 64bf043a6508d26367751b70a13b5ac0d9e1b602 /protocols/JabberG/src/jabber_opt.cpp | |
parent | 45898e008336c419f9d4b07ccfa46fde30226db0 (diff) |
First attempt to support registration forms (can someone test and fix it please?)
git-svn-id: http://svn.miranda-ng.org/main/trunk@14881 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/JabberG/src/jabber_opt.cpp')
-rw-r--r-- | protocols/JabberG/src/jabber_opt.cpp | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/protocols/JabberG/src/jabber_opt.cpp b/protocols/JabberG/src/jabber_opt.cpp index 7755e0bfca..e76dd082e2 100644 --- a/protocols/JabberG/src/jabber_opt.cpp +++ b/protocols/JabberG/src/jabber_opt.cpp @@ -541,17 +541,6 @@ private: void btnRegister_OnClick(CCtrlButton *)
{
- CMString buf;
- TCHAR pass[512];
- if (!m_proto->EnterString(buf, TranslateT("Confirm password"), ESF_PASSWORD))
- return;
-
- m_txtPassword.GetText(pass, _countof(pass));
- if (mir_tstrcmp(buf, pass)) {
- MessageBox(m_hwnd, TranslateT("Passwords do not match."), _T("Miranda NG"), MB_ICONSTOP|MB_OK);
- return;
- }
-
PSHNOTIFY pshn = {0};
pshn.hdr.code = PSN_APPLY;
pshn.hdr.hwndFrom = m_hwnd;
@@ -1795,17 +1784,6 @@ private: void btnRegister_OnClick(CCtrlButton *)
{
- CMString buf;
- if (!m_proto->EnterString(buf, TranslateT("Confirm password"), ESF_PASSWORD))
- return;
-
- TCHAR pass[512];
- m_txtPassword.GetText(pass, _countof(pass));
- if (mir_tstrcmp(buf, pass)) {
- MessageBox(m_hwnd, TranslateT("Passwords do not match."), _T("Miranda NG"), MB_ICONSTOP|MB_OK);
- return;
- }
-
PSHNOTIFY pshn = {0};
pshn.hdr.code = PSN_APPLY;
pshn.hdr.hwndFrom = m_hwnd;
|