summaryrefslogtreecommitdiff
path: root/protocols/SkypeClassic/src
diff options
context:
space:
mode:
authorRozhuk Ivan <rozhuk.im@gmail.com>2014-12-14 04:44:35 +0000
committerRozhuk Ivan <rozhuk.im@gmail.com>2014-12-14 04:44:35 +0000
commit0ff28f7c5ffaa46ed5b21bee965e66bb9108dfe2 (patch)
treeb81fde138c27395492788b527b7e781a85c44c6f /protocols/SkypeClassic/src
parent850259c4eab1a77d973af51cd3bd62fbbd09f591 (diff)
GetWindowText(GetDlgItem(...)) -> GetDlgItemText(...)
git-svn-id: http://svn.miranda-ng.org/main/trunk@11390 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/SkypeClassic/src')
-rw-r--r--protocols/SkypeClassic/src/skypeopt.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/SkypeClassic/src/skypeopt.cpp b/protocols/SkypeClassic/src/skypeopt.cpp
index 8c598c3efe..74957b8907 100644
--- a/protocols/SkypeClassic/src/skypeopt.cpp
+++ b/protocols/SkypeClassic/src/skypeopt.cpp
@@ -935,8 +935,8 @@ void DoAutoDetect(HWND dlg)
{
if (acc = ezxml_get(f1, "Lib", 0, "Account", 0, "Default", -1))
{
- if (GetWindowTextA(GetDlgItem(dlg,IDC_USERNAME),tmpUser,sizeof(tmpUser)))
- SetWindowTextA(GetDlgItem(dlg,IDC_USERNAME),acc->txt);
+ if (GetDlgItemTextA(dlg, IDC_USERNAME, tmpUser, sizeof(tmpUser)))
+ SetWindowTextA(GetDlgItem(dlg, IDC_USERNAME), acc->txt);
/* Can't find this stuff in current Skype verions??
sprintf (fileName, "%s\\%s\\config.xml", basePath, acc->txt);
if ((acc = ezxml_get(f1, "UI", 0, "Messages", 0, "OpenWindowInCompactMode", -1)) && *acc->txt!='0')