summaryrefslogtreecommitdiff
path: root/protocols/IcqOscarJ/src/UI/loginpassword.cpp
diff options
context:
space:
mode:
authorTobias Weimer <wishmaster51@googlemail.com>2013-11-08 20:21:46 +0000
committerTobias Weimer <wishmaster51@googlemail.com>2013-11-08 20:21:46 +0000
commit04fb44b780f18e57abd1afb0a38b845ace114e6b (patch)
tree5328cc5b4a2a2a3295edb5922077c79f94356641 /protocols/IcqOscarJ/src/UI/loginpassword.cpp
parent0829927dddd3277bf0159fac6750d00a84a805c6 (diff)
removed unneeded UTF conversions
git-svn-id: http://svn.miranda-ng.org/main/trunk@6828 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/IcqOscarJ/src/UI/loginpassword.cpp')
-rw-r--r--protocols/IcqOscarJ/src/UI/loginpassword.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/protocols/IcqOscarJ/src/UI/loginpassword.cpp b/protocols/IcqOscarJ/src/UI/loginpassword.cpp
index bf6706dc75..9636e9a41b 100644
--- a/protocols/IcqOscarJ/src/UI/loginpassword.cpp
+++ b/protocols/IcqOscarJ/src/UI/loginpassword.cpp
@@ -46,9 +46,9 @@ INT_PTR CALLBACK LoginPasswdDlgProc(HWND hwndDlg, UINT msg, WPARAM wParam, LPARA
{
DWORD dwUin = ppro->getContactUin(NULL);
- char pszUIN[MAX_PATH], str[MAX_PATH];
- mir_snprintf(pszUIN, 128, ICQTranslateUtfStatic(LPGEN("Enter a password for UIN %u:"), str, MAX_PATH), dwUin);
- SetDlgItemTextUtf(hwndDlg, IDC_INSTRUCTION, pszUIN);
+ TCHAR pszUIN[MAX_PATH];
+ mir_sntprintf(pszUIN, 128, TranslateT("Enter a password for UIN %u:"), dwUin);
+ SetDlgItemText(hwndDlg, IDC_INSTRUCTION, pszUIN);
SendDlgItemMessage(hwndDlg, IDC_LOGINPW, EM_LIMITTEXT, PASSWORDMAXLEN - 1, 0);