summaryrefslogtreecommitdiff
path: root/protocols/SkypeWeb/src/skype_options.cpp
diff options
context:
space:
mode:
authorAlexander Lantsev <aunsane@gmail.com>2015-03-18 20:28:01 +0000
committerAlexander Lantsev <aunsane@gmail.com>2015-03-18 20:28:01 +0000
commit3364fd6b8bdc21692805302a4333e49b44590b2c (patch)
tree578dd1a7a5db05311add225a78c65cc2a7b03f6d /protocols/SkypeWeb/src/skype_options.cpp
parentcd4a3aab6a6406bcaca07734848e57477db4485d (diff)
SkypeWeb:
- contact list loading - refactoring git-svn-id: http://svn.miranda-ng.org/main/trunk@12431 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/SkypeWeb/src/skype_options.cpp')
-rw-r--r--protocols/SkypeWeb/src/skype_options.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/protocols/SkypeWeb/src/skype_options.cpp b/protocols/SkypeWeb/src/skype_options.cpp
index bf5c2901f3..ae8c1b9c4e 100644
--- a/protocols/SkypeWeb/src/skype_options.cpp
+++ b/protocols/SkypeWeb/src/skype_options.cpp
@@ -13,8 +13,8 @@ INT_PTR CSkypeProto::MainOptionsProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM
SetWindowLongPtr(hwnd, GWLP_USERDATA, lParam);
ptrA login(proto->getStringA(SKYPE_SETTINGS_ID));
- SetDlgItemTextA(hwnd, IDC_LOGIN, login);
- SendDlgItemMessage(hwnd, IDC_LOGIN, EM_LIMITTEXT, 32, 0);
+ SetDlgItemTextA(hwnd, IDC_SKYPENAME, login);
+ SendDlgItemMessage(hwnd, IDC_SKYPENAME, EM_LIMITTEXT, 32, 0);
ptrA password(proto->getStringA("Password"));
SetDlgItemTextA(hwnd, IDC_PASSWORD, password);
@@ -30,7 +30,7 @@ INT_PTR CSkypeProto::MainOptionsProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM
{
switch (LOWORD(wParam))
{
- case IDC_LOGIN:
+ case IDC_SKYPENAME:
case IDC_GROUP:
case IDC_PASSWORD:
if ((HWND)lParam == GetFocus())
@@ -46,9 +46,9 @@ INT_PTR CSkypeProto::MainOptionsProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM
case WM_NOTIFY:
if (((NMHDR*)lParam)->code == PSN_APPLY)
{
- char login[32];
- GetDlgItemTextA(hwnd, IDC_LOGIN, login, SIZEOF(login));
- proto->setString(SKYPE_SETTINGS_ID, login);
+ char skypename[32];
+ GetDlgItemTextA(hwnd, IDC_SKYPENAME, skypename, SIZEOF(skypename));
+ proto->setString(SKYPE_SETTINGS_ID, skypename);
char password[20];
GetDlgItemTextA(hwnd, IDC_PASSWORD, password, SIZEOF(password));