summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2017-03-24 12:48:06 +0300
committerGeorge Hazan <ghazan@miranda.im>2017-03-24 12:48:06 +0300
commit4a67cbcb142409ccafc57a64186591e7976853ac (patch)
treeb059247261bf0e9d433e82f2cd401eabe0a723aa
parent35ec83f41f78aff503d1bfa16714aadee360d2f7 (diff)
compilation fix
-rw-r--r--protocols/MSN/src/msn_opts.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/MSN/src/msn_opts.cpp b/protocols/MSN/src/msn_opts.cpp
index 02f9706da4..e672669625 100644
--- a/protocols/MSN/src/msn_opts.cpp
+++ b/protocols/MSN/src/msn_opts.cpp
@@ -91,7 +91,7 @@ static INT_PTR CALLBACK DlgProcMsnOpts(HWND hwndDlg, UINT msg, WPARAM wParam, LP
char szPassword[100];
if (!db_get_static(NULL, proto->m_szModuleName, "Password", szPassword, sizeof(szPassword))) {
- tBuffer[99] = 0;
+ szPassword[99] = 0;
SetDlgItemTextA(hwndDlg, IDC_PASSWORD, szPassword);
}
SendDlgItemMessage(hwndDlg, IDC_PASSWORD, EM_SETLIMITTEXT, 99, 0);
@@ -517,7 +517,7 @@ static INT_PTR CALLBACK DlgProcAccMgrUI(HWND hwndDlg, UINT msg, WPARAM wParam, L
char szPassword[100];
if (!db_get_static(NULL, proto->m_szModuleName, "Password", szPassword, sizeof(szPassword))) {
- tBuffer[99] = 0;
+ szPassword[99] = 0;
SetDlgItemTextA(hwndDlg, IDC_PASSWORD, szPassword);
}
SendDlgItemMessage(hwndDlg, IDC_PASSWORD, EM_SETLIMITTEXT, 99, 0);