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/pwd_dlg.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/pwd_dlg.cpp')
-rw-r--r-- | protocols/Xfire/src/pwd_dlg.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/Xfire/src/pwd_dlg.cpp b/protocols/Xfire/src/pwd_dlg.cpp index 97857e2aa5..b31f771cc0 100644 --- a/protocols/Xfire/src/pwd_dlg.cpp +++ b/protocols/Xfire/src/pwd_dlg.cpp @@ -11,7 +11,7 @@ INT_PTR CALLBACK DlgPwProc(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam) {
case WM_INITDIALOG:
{
- SetWindowText(hwndDlg, "Please enter server password ...");
+ SetWindowText(hwndDlg, LPGENT("Please enter server password ..."));
TranslateDialogDefault(hwndDlg);
SendMessage(hwndDlg,WM_SETICON, (WPARAM)false, (LPARAM)LoadIcon(hinstance, MAKEINTRESOURCE(IDI_TM)));
return TRUE;
@@ -20,7 +20,7 @@ INT_PTR CALLBACK DlgPwProc(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam) {
if(LOWORD(wParam) == IDOK)
{
- GetDlgItemText(hwndDlg,IDC_NICKNAME,password,sizeof(password));
+ GetDlgItemTextA(hwndDlg,IDC_NICKNAME,password,sizeof(password));
EndDialog(hwndDlg,TRUE);
return TRUE;
}
|