From f39683393b0f9c31559ef05c824774541d9a19be Mon Sep 17 00:00:00 2001 From: mataes2007 Date: Sat, 31 Dec 2011 16:11:05 +0000 Subject: patch by FREAK_THEMIGHTY: add x64 support added context-sensitive langpacks support git-svn-id: http://miranda-plugins.googlecode.com/svn/trunk@252 e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb --- SecureIM/commonheaders.cpp | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) (limited to 'SecureIM/commonheaders.cpp') diff --git a/SecureIM/commonheaders.cpp b/SecureIM/commonheaders.cpp index aa6c454..e3b51a0 100644 --- a/SecureIM/commonheaders.cpp +++ b/SecureIM/commonheaders.cpp @@ -1,8 +1,6 @@ #include "commonheaders.h" HINSTANCE g_hInst, g_hIconInst; -PLUGINLINK *pluginLink; -MM_INTERFACE mmi = {0}; MUUID interfaces[] = {MIID_SECUREIM, MIID_LAST}; LPCSTR szModuleName = MODULENAME; @@ -28,19 +26,6 @@ BYTE bADV, bPGP, bGPG; DWORD iCoreVersion = 0; CRITICAL_SECTION localQueueMutex; -PLUGININFO pluginInfo = { - sizeof(PLUGININFO), - MODULENAME" (2in1)", - __VERSION_DWORD, - MODULENAME" plugin for Miranda IM ("__DATE__")", - "Johell, Ghost, Nightwish, __alex, Baloo", - "Johell@ifrance.com, baloo@bk.ru", - "© 2003 Johell, © 2005-09 Baloo", - "http://addons.miranda-im.org/details.php?action=viewfile&id=2445", - 0, 0 -}; - - PLUGININFOEX pluginInfoEx = { sizeof(PLUGININFOEX), MODULENAME" (2in1)", @@ -70,7 +55,7 @@ LPSTR myDBGetString(HANDLE hContact,const char *szModule,const char *szSetting) LPSTR myDBGetStringDecode(HANDLE hContact,const char *szModule,const char *szSetting) { char *val = myDBGetString(hContact,szModule,szSetting); if(!val) return NULL; - int len = strlen(val)+64; + size_t len = strlen(val)+64; char *buf = (LPSTR)mir_alloc(len); strncpy(buf,val,len); mir_free(val); CallService(MS_DB_CRYPT_DECODESTRING,(WPARAM)len,(LPARAM)buf); -- cgit v1.2.3