diff options
author | Alexander Lantsev <aunsane@gmail.com> | 2012-10-07 17:10:29 +0000 |
---|---|---|
committer | Alexander Lantsev <aunsane@gmail.com> | 2012-10-07 17:10:29 +0000 |
commit | 8d42163a160b263abf709414db8b973f74b4d355 (patch) | |
tree | d44fc6a25ced661d493c5fa9f9b138680d47805b /protocols/Skype/src/skype_dialogs.cpp | |
parent | ecb5d187aec965f0fc021002dbf2afab22d300e8 (diff) |
- second approach to adding/deleting contacts
git-svn-id: http://svn.miranda-ng.org/main/trunk@1806 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Skype/src/skype_dialogs.cpp')
-rw-r--r-- | protocols/Skype/src/skype_dialogs.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
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<CSkypeProto*>(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)
{
|