From 8d42163a160b263abf709414db8b973f74b4d355 Mon Sep 17 00:00:00 2001 From: Alexander Lantsev Date: Sun, 7 Oct 2012 17:10:29 +0000 Subject: - second approach to adding/deleting contacts git-svn-id: http://svn.miranda-ng.org/main/trunk@1806 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/Skype/src/skype_dialogs.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'protocols/Skype/src/skype_dialogs.cpp') diff --git a/protocols/Skype/src/skype_dialogs.cpp b/protocols/Skype/src/skype_dialogs.cpp index 72fa4b2613..6f86907bfc 100644 --- a/protocols/Skype/src/skype_dialogs.cpp +++ b/protocols/Skype/src/skype_dialogs.cpp @@ -13,13 +13,13 @@ INT_PTR CALLBACK CSkypeProto::SkypeAccountProc(HWND hwnd, UINT message, WPARAM w proto = reinterpret_cast(lparam); SetWindowLongPtr(hwnd, GWLP_USERDATA, lparam); - wchar_t* data = proto->GetSettingString(SKYPE_SETTINGS_LOGIN, L""); - SetDlgItemText(hwnd, IDC_SL, data); - ::mir_free(data); + wchar_t* sid = proto->GetSettingString(SKYPE_SETTINGS_LOGIN); + SetDlgItemText(hwnd, IDC_SL, sid); + ::mir_free(sid); - data = proto->GetDecodeSettingString(SKYPE_SETTINGS_PASSWORD, L""); - SetDlgItemText(hwnd, IDC_PW, data); - ::mir_free(data); + wchar_t* pwd = proto->GetDecodeSettingString(SKYPE_SETTINGS_PASSWORD); + SetDlgItemText(hwnd, IDC_PW, pwd); + ::mir_free(pwd); if ( proto->m_iStatus != ID_STATUS_OFFLINE) { -- cgit v1.2.3