summaryrefslogtreecommitdiff
path: root/plugins/UserInfoEx/src
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-08-03 19:44:57 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-08-03 19:44:57 +0000
commit50eb80e6116dda8fb97da91146092328d0950622 (patch)
treee88d09c8a73fa12dc990bb6bb4fac89388cfa8b9 /plugins/UserInfoEx/src
parent85b303dbbb3adf8bd060985ff3e0e5956e8a5cb9 (diff)
removed the Unicode core verification
git-svn-id: http://svn.miranda-ng.org/main/trunk@1342 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/UserInfoEx/src')
-rw-r--r--plugins/UserInfoEx/src/init.cpp9
1 files changed, 1 insertions, 8 deletions
diff --git a/plugins/UserInfoEx/src/init.cpp b/plugins/UserInfoEx/src/init.cpp
index 3b7b0b8249..71c88a53ca 100644
--- a/plugins/UserInfoEx/src/init.cpp
+++ b/plugins/UserInfoEx/src/init.cpp
@@ -164,19 +164,12 @@ static INT OnShutdown(WPARAM wParam, LPARAM lParam)
static BOOL CoreCheck()
{
BOOL bOk = TRUE;
- CHAR szVer[260];
- TCHAR tszExePath[1024];
+ TCHAR tszExePath[1024];
GetModuleFileName(GetModuleHandle(NULL), tszExePath, SIZEOF(tszExePath));
- CallService(MS_SYSTEM_GETVERSIONTEXT, SIZEOF(szVer), (LPARAM)szVer);
-
- strlwr(szVer);
_tcslwr(tszExePath);
-
bOk *= (GetVersion() & 0x80000000) == 0;
- bOk *= strstr(szVer, "unicode") != 0;
-
bOk *= _tcsstr(_tcsrchr(tszExePath, '\\'), _T("miranda")) != 0;
bOk *= !strstr(szVer, "coffee") && strncmp(szVer, "1.", 2) && !strstr(szVer, " 1.");