From 50eb80e6116dda8fb97da91146092328d0950622 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 3 Aug 2012 19:44:57 +0000 Subject: removed the Unicode core verification git-svn-id: http://svn.miranda-ng.org/main/trunk@1342 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/UserInfoEx/src/init.cpp | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'plugins/UserInfoEx') 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."); -- cgit v1.2.3