summaryrefslogtreecommitdiff
path: root/Dbx_mmap_SA/init.c
diff options
context:
space:
mode:
authormataes2007 <mataes2007@e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb>2011-12-03 18:03:47 +0000
committermataes2007 <mataes2007@e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb>2011-12-03 18:03:47 +0000
commit9058a0873878d4767f0ab43b55f397ed3290d8ed (patch)
tree8c84e1db1114ae8b865cb2ca85ff2d35e0256619 /Dbx_mmap_SA/init.c
parent534fea9b2d46ddbe51b3841f2ca6af2e468f5c00 (diff)
Dbx_mmap_SA:
removed not needed ansi code git-svn-id: http://miranda-plugins.googlecode.com/svn/trunk@238 e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb
Diffstat (limited to 'Dbx_mmap_SA/init.c')
-rw-r--r--Dbx_mmap_SA/init.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/Dbx_mmap_SA/init.c b/Dbx_mmap_SA/init.c
index a059950..38d90b8 100644
--- a/Dbx_mmap_SA/init.c
+++ b/Dbx_mmap_SA/init.c
@@ -32,7 +32,6 @@ extern char szDbPath[MAX_PATH];
HINSTANCE g_hInst=NULL;
PLUGINLINK *pluginLink;
-BOOL gl_bUnicodeAwareCore=FALSE;
PLUGININFOEX pluginInfo = {
sizeof(PLUGININFOEX),
@@ -143,7 +142,6 @@ static int LoadDatabase( char * profile, void * plink )
char szVer[MAX_PATH];
CallService(MS_SYSTEM_GETVERSIONTEXT, MAX_PATH, (LPARAM)szVer);
_strlwr(szVer); // make sure it is lowercase
- gl_bUnicodeAwareCore = (strstr(szVer, "unicode") != NULL);
/* WARNING!!! You CANNOT remove this code */
if (strstr(szVer, "coffee") != NULL)
@@ -151,7 +149,7 @@ static int LoadDatabase( char * profile, void * plink )
// We are running under damn violators
void (*f)();
- MessageBoxA(0, Translate("Running mmap_sa is forbidden under license violating products, sorry"), Translate("Warning!"), MB_OK);
+ MessageBox(0, TranslateT("Running mmap_sa is forbidden under license violating products, sorry"), TranslateT("Warning!"), MB_OK);
f = NULL;
f();