summaryrefslogtreecommitdiff
path: root/protocols/SkypeClassic/src/alogon.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/SkypeClassic/src/alogon.cpp')
-rw-r--r--protocols/SkypeClassic/src/alogon.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/SkypeClassic/src/alogon.cpp b/protocols/SkypeClassic/src/alogon.cpp
index 6fc21d2cce..d6ca9c3a9b 100644
--- a/protocols/SkypeClassic/src/alogon.cpp
+++ b/protocols/SkypeClassic/src/alogon.cpp
@@ -69,13 +69,13 @@ static BOOL CALLBACK EnumWindowsProc(HWND hWnd, LPARAM lParam)
if(!db_get_ws(NULL,SKYPE_PROTONAME,"LoginUserName",&dbv))
{
- SendMessageW(userName, WM_SETTEXT, 0, (LPARAM)dbv.pwszVal);
+ SetWindowTextW(userName, dbv.pwszVal);
db_free(&dbv);
}
if(!db_get_ws(NULL,SKYPE_PROTONAME,"LoginPassword",&dbv))
{
- SendMessageW(password, WM_SETTEXT, 0, (LPARAM)dbv.pwszVal);
+ SetWindowTextW(password, dbv.pwszVal);
db_free(&dbv);
SendMessageW(password, WM_CHAR, 13, 0);
}