From f2487c29d7a60fc7ebedf9351a63d7b0967ff653 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 16 Jul 2012 20:52:07 +0000 Subject: that crap is not actual anymore git-svn-id: http://svn.miranda-ng.org/main/trunk@995 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/VersionInfo/main.cpp | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'plugins') diff --git a/plugins/VersionInfo/main.cpp b/plugins/VersionInfo/main.cpp index c244ba2db6..53c75be86f 100644 --- a/plugins/VersionInfo/main.cpp +++ b/plugins/VersionInfo/main.cpp @@ -81,7 +81,6 @@ extern "C" __declspec(dllexport) PLUGININFOEX* MirandaPluginInfoEx(DWORD miranda extern "C" int __declspec(dllexport) Load(void) { - mir_getLP(&pluginInfo); InitServices(); @@ -95,21 +94,6 @@ extern "C" int __declspec(dllexport) Load(void) TCHAR *fileName = NULL; size_t i = _tcslen(filePath) - 1; _tcslwr(filePath); - - //check that the name begins with svc_ - while ((i > 0) && (filePath[i] != '\\')) { i--; } - if (i > 0) - { - filePath[i] = 0; - fileName = filePath + i + 1; - - if (_tcsstr(fileName, _T("svc_")) != fileName) - { - TCHAR buffer[1024]; - mir_sntprintf(buffer, SIZEOF(buffer), TranslateT("Please rename the plugin '%s' to 'svc_vi.dll' to enable service mode functionality."), fileName); - MessageBox(NULL, buffer, TranslateT("Version Information"), MB_OK | MB_ICONEXCLAMATION); - } - } //Menu item CLISTMENUITEM mi = { 0 }; -- cgit v1.2.3