summaryrefslogtreecommitdiff
path: root/protocols/IcqOscarJ/src/UI/userinfotab.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/userinfotab.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/userinfotab.cpp')
-rw-r--r--protocols/IcqOscarJ/src/UI/userinfotab.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/protocols/IcqOscarJ/src/UI/userinfotab.cpp b/protocols/IcqOscarJ/src/UI/userinfotab.cpp
index d913bc50f4..f8bec5308b 100644
--- a/protocols/IcqOscarJ/src/UI/userinfotab.cpp
+++ b/protocols/IcqOscarJ/src/UI/userinfotab.cpp
@@ -172,7 +172,7 @@ static void SetValue(CIcqProto* ppro, HWND hwndDlg, int idCtrl, HANDLE hContact,
bAlloc = 1;
}
if (idCtrl == IDC_UIN)
- SetDlgItemTextUtf(hwndDlg, IDC_UINSTATIC, ICQTranslateUtfStatic(LPGEN("ScreenName:"), str, MAX_PATH));
+ SetDlgItemText(hwndDlg, IDC_UINSTATIC, TranslateT("ScreenName:"));
break;
default:
@@ -184,7 +184,7 @@ static void SetValue(CIcqProto* ppro, HWND hwndDlg, int idCtrl, HANDLE hContact,
EnableDlgItem(hwndDlg, idCtrl, !unspecified);
if (unspecified)
- SetDlgItemTextUtf(hwndDlg, idCtrl, ICQTranslateUtfStatic(LPGEN("<not specified>"), str, MAX_PATH));
+ SetDlgItemText(hwndDlg, idCtrl, TranslateT("<not specified>"));
else if (bUtf)
SetDlgItemTextUtf(hwndDlg, idCtrl, pstr);
else
@@ -257,7 +257,7 @@ static INT_PTR CALLBACK IcqDlgProc(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM
SetValue(ppro, hwndDlg, IDC_PORT, hContact, (char*)DBVT_WORD, (char*)ppro->wListenPort, SVS_ZEROISUNSPEC);
SetValue(ppro, hwndDlg, IDC_VERSION, hContact, (char*)DBVT_WORD, (char*)ICQ_VERSION, SVS_ICQVERSION);
SetValue(ppro, hwndDlg, IDC_MIRVER, hContact, (char*)DBVT_ASCIIZ, str, SVS_ZEROISUNSPEC);
- SetDlgItemTextUtf(hwndDlg, IDC_SUPTIME, ICQTranslateUtfStatic(LPGEN("Member since:"), str, MAX_PATH));
+ SetDlgItemText(hwndDlg, IDC_SUPTIME, TranslateT("Member since:"));
SetValue(ppro, hwndDlg, IDC_SYSTEMUPTIME, hContact, szProto, "MemberTS", SVS_TIMESTAMP);
SetValue(ppro, hwndDlg, IDC_STATUS, hContact, (char*)DBVT_WORD, (char*)ppro->m_iStatus, SVS_STATUSID);
}