diff options
author | mataes2007 <mataes2007@e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb> | 2011-12-31 16:11:05 +0000 |
---|---|---|
committer | mataes2007 <mataes2007@e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb> | 2011-12-31 16:11:05 +0000 |
commit | f39683393b0f9c31559ef05c824774541d9a19be (patch) | |
tree | 715aca7e40f104ea9839d2ec1bcbf8dfb7d017e3 /SecureIM/commonheaders.cpp | |
parent | 85863331bd2920991e8e7093a472e60d749b4a7a (diff) |
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
Diffstat (limited to 'SecureIM/commonheaders.cpp')
-rw-r--r-- | SecureIM/commonheaders.cpp | 17 |
1 files changed, 1 insertions, 16 deletions
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);
|