diff options
author | Robert Pösel <robyer@seznam.cz> | 2013-10-18 14:34:21 +0000 |
---|---|---|
committer | Robert Pösel <robyer@seznam.cz> | 2013-10-18 14:34:21 +0000 |
commit | 1e7f13db4500b6eb520651b44439d9ae78ca532c (patch) | |
tree | 927a0a7d51477ddc7d442221726562c858dc90c4 /protocols/Xfire/src/setnickname.cpp | |
parent | c225876c8534502f20d55f22f2d07ce729590bcd (diff) |
XFire: compile plugin as unicode, various fixes and cleanup, version bump
git-svn-id: http://svn.miranda-ng.org/main/trunk@6516 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Xfire/src/setnickname.cpp')
-rw-r--r-- | protocols/Xfire/src/setnickname.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/Xfire/src/setnickname.cpp b/protocols/Xfire/src/setnickname.cpp index c6908755d6..d53ae23238 100644 --- a/protocols/Xfire/src/setnickname.cpp +++ b/protocols/Xfire/src/setnickname.cpp @@ -14,7 +14,7 @@ INT_PTR CALLBACK DlgNickProc(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lPara DBVARIANT dbv;
if(!db_get(NULL,protocolname,"Nick",&dbv)) {
- SetDlgItemText(hwndDlg,IDC_NICKNAME,dbv.pszVal);
+ SetDlgItemTextA(hwndDlg,IDC_NICKNAME,dbv.pszVal);
db_free(&dbv);
}
return TRUE;
@@ -24,7 +24,7 @@ INT_PTR CALLBACK DlgNickProc(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lPara if(LOWORD(wParam) == IDOK)
{
char nick[255];
- GetDlgItemText(hwndDlg,IDC_NICKNAME,nick,sizeof(nick));
+ GetDlgItemTextA(hwndDlg,IDC_NICKNAME,nick,sizeof(nick));
CallService(XFIRE_SET_NICK,0,(LPARAM)nick);
|