From 45adfac09535637462889f1e6d6735a213c1bf7f Mon Sep 17 00:00:00 2001 From: Tobias Weimer Date: Tue, 7 Aug 2012 22:17:31 +0000 Subject: support for unicode Fingerprint git-svn-id: http://svn.miranda-ng.org/main/trunk@1397 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/JabberG/jabber_menu.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'protocols/JabberG/jabber_menu.cpp') diff --git a/protocols/JabberG/jabber_menu.cpp b/protocols/JabberG/jabber_menu.cpp index 985db5e17e..81bfb8d4c9 100644 --- a/protocols/JabberG/jabber_menu.cpp +++ b/protocols/JabberG/jabber_menu.cpp @@ -487,12 +487,10 @@ int CJabberProto::OnPrebuildContactMenu( WPARAM wParam, LPARAM ) clmi.flags = CMIM_NAME|CMIM_FLAGS | CMIF_CHILDPOPUP|CMIF_TCHAR; if ((item->resourceMode == RSMODE_MANUAL) && (item->manualResource == i)) clmi.flags |= CMIF_CHECKED; - if (ServiceExists( "Fingerprint/GetClientIcon" )) { + if (ServiceExists(MS_FP_GETCLIENTICONT)) { clmi.flags |= CMIM_ICON; FormatMirVer(&item->resource[i], szTmp, SIZEOF(szTmp)); - char *szMirver = mir_t2a(szTmp); - clmi.hIcon = (HICON)CallService( "Fingerprint/GetClientIcon", (WPARAM)szMirver, 0 ); - mir_free( szMirver ); + clmi.hIcon = (HICON)CallService( MS_FP_GETCLIENTICONT, (WPARAM)szTmp, 0 ); } mir_sntprintf(szTmp, SIZEOF(szTmp), _T("%s [%s, %d]"), item->resource[i].resourceName, -- cgit v1.2.3