summaryrefslogtreecommitdiff
path: root/Dbx_mmap_SA/init.c
diff options
context:
space:
mode:
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();