From 83f57f5092fd96fef29fd2784ed5d7701b52378b Mon Sep 17 00:00:00 2001 From: Tobias Weimer Date: Wed, 7 Nov 2012 20:49:14 +0000 Subject: Merged with original Twitter: v1.1.0.0 - fixed some memory leaks (thx borkra) - fixed up some API v1.1 preferences - avatars now work for users that tweet - fixed the retweet truncation issue finally (properly this time), i test for the "retweeted_status" attribute now instead of flailing around blindly. git-svn-id: http://svn.miranda-ng.org/main/trunk@2239 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/Twitter/src/theme.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'protocols/Twitter/src/theme.cpp') diff --git a/protocols/Twitter/src/theme.cpp b/protocols/Twitter/src/theme.cpp index 1dc7e1cc78..82df5563b0 100644 --- a/protocols/Twitter/src/theme.cpp +++ b/protocols/Twitter/src/theme.cpp @@ -135,18 +135,18 @@ void InitContactMenus() PrebuildContactMenu); CLISTMENUITEM mi = {sizeof(mi)}; - mi.flags = CMIF_NOTOFFLINE | CMIF_ICONFROMICOLIB; + mi.flags = CMIF_NOTOFFLINE | CMIF_ICONFROMICOLIB | CMIF_TCHAR; mi.position=-2000006000; mi.icolibItem = GetIconHandle("reply"); - mi.pszName = LPGEN("Reply..."); + mi.ptszName = LPGENT("Reply..."); mi.pszService = "Twitter/ReplyToTweet"; g_hMenuEvts[1] = CreateServiceFunction(mi.pszService, GlobalService<&TwitterProto::ReplyToTweet>); g_hMenuItems[0] = Menu_AddContactMenuItem(&mi); mi.position=-2000006000; mi.icolibItem = GetIconHandle("homepage"); - mi.pszName = LPGEN("Visit Homepage"); + mi.ptszName = LPGENT("Visit Homepage"); mi.pszService = "Twitter/VisitHomepage"; g_hMenuEvts[2] = CreateServiceFunction(mi.pszService, GlobalService<&TwitterProto::VisitHomepage>); -- cgit v1.2.3