diff options
author | George Hazan <george.hazan@gmail.com> | 2016-07-29 12:36:34 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2016-07-29 12:36:34 +0000 |
commit | 428bf0cbd77813a43094cb5c984436deff251936 (patch) | |
tree | d7dfa8971153d53a849e45c942be97fe5b90b7ec /plugins/FingerprintNG/src/fingerprint.cpp | |
parent | 82ef17ca5286f58ae7af604fb9518e8dc496b7c3 (diff) |
no more TCHARs
git-svn-id: http://svn.miranda-ng.org/main/trunk@17143 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/FingerprintNG/src/fingerprint.cpp')
-rw-r--r-- | plugins/FingerprintNG/src/fingerprint.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/FingerprintNG/src/fingerprint.cpp b/plugins/FingerprintNG/src/fingerprint.cpp index 3d0f14b90c..0ec2887af0 100644 --- a/plugins/FingerprintNG/src/fingerprint.cpp +++ b/plugins/FingerprintNG/src/fingerprint.cpp @@ -79,7 +79,7 @@ void __fastcall Prepare(KN_FP_MASK* mask, bool bEnable) return; SKINICONDESC sid = { 0 }; - sid.flags = SIDF_ALL_TCHAR; + sid.flags = SIDF_ALL_UNICODE; sid.section.w = SectName; sid.pszName = mask->szIconName; sid.description.w = mask->szClientDescription; @@ -144,7 +144,7 @@ static void SetSrmmIcon(MCONTACT hContact, LPTSTR ptszMirver) StatusIconData sid = { sizeof(sid) }; sid.szModule = MODULENAME; sid.dwId = 1; - sid.flags = MBF_TCHAR; + sid.flags = MBF_UNICODE; sid.tszTooltip = ptszMirver; if (mir_wstrlen(ptszMirver)) @@ -843,7 +843,7 @@ int OnExtraImageApply(WPARAM hContact, LPARAM) ptrW tszMirver; char *szProto = GetContactProto(hContact); if (szProto != NULL) - tszMirver = db_get_tsa(hContact, szProto, "MirVer"); + tszMirver = db_get_wsa(hContact, szProto, "MirVer"); ApplyFingerprintImage(hContact, tszMirver); return 0; @@ -896,7 +896,7 @@ static int OnSrmmWindowEvent(WPARAM, LPARAM lParam) ptrW ptszMirVer; char *szProto = GetContactProto(event->hContact); if (szProto != NULL) - ptszMirVer = db_get_tsa(event->hContact, szProto, "MirVer"); + ptszMirVer = db_get_wsa(event->hContact, szProto, "MirVer"); SetSrmmIcon(event->hContact, ptszMirVer); arMonitoredWindows.insert((HANDLE)event->hContact); } @@ -923,7 +923,7 @@ int OnModulesLoaded(WPARAM, LPARAM) HookEvent(ME_MC_DEFAULTTCHANGED, OnExtraImageApply); - PathToAbsoluteT(DEFAULT_SKIN_FOLDER, g_szSkinLib); + PathToAbsoluteW(DEFAULT_SKIN_FOLDER, g_szSkinLib); RegisterIcons(); |