diff options
author | Vadim Dashevskiy <watcherhd@gmail.com> | 2012-06-05 20:02:16 +0000 |
---|---|---|
committer | Vadim Dashevskiy <watcherhd@gmail.com> | 2012-06-05 20:02:16 +0000 |
commit | 9e97d362c526ddcf8c6ee68891575a7d24918b67 (patch) | |
tree | e757afc82ff393e6394b81a17baec4dd3d7482bf /plugins/FlashAvatars | |
parent | 439a7d68a8ff7465e735749068255dfa0c4af5ad (diff) |
mirVersion cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@321 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/FlashAvatars')
-rw-r--r-- | plugins/FlashAvatars/cflash.cpp | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/plugins/FlashAvatars/cflash.cpp b/plugins/FlashAvatars/cflash.cpp index 78eaf7912c..12a0f1466a 100644 --- a/plugins/FlashAvatars/cflash.cpp +++ b/plugins/FlashAvatars/cflash.cpp @@ -644,29 +644,6 @@ static int systemModulesLoaded(WPARAM /*wParam*/, LPARAM /*lParam*/) extern "C" __declspec(dllexport) PLUGININFOEX * MirandaPluginInfoEx(DWORD mirandaVersion)
{
- if (mirandaVersion < PLUGIN_MAKE_VERSION(0, 4, 0, 0))
- return NULL;
-
- TCHAR filename[MAX_PATH];
- GetModuleFileName(g_hInst, filename, SIZEOF(filename));
-
- DWORD unused;
- DWORD verInfoSize = GetFileVersionInfoSize(filename, &unused);
- PVOID pVerInfo = malloc(verInfoSize);
- GetFileVersionInfo(filename, 0, verInfoSize, pVerInfo);
-
- TCHAR *productVersion;
- UINT blockSize;
- VerQueryValue(pVerInfo, _T("\\StringFileInfo\\040504b0\\FileVersion"), (PVOID*)&productVersion, &blockSize);
-
-#ifdef _UNICODE
- _snprintf(pluginName, SIZEOF(pluginName), "Flash avatars service [build #%S]", _tcsrchr(productVersion, ' ') + 1);
-#else
- _snprintf(pluginName, SIZEOF(pluginName), "Flash avatars service [build #%s]", strrchr(productVersion, ' ') + 1);
-#endif
- pluginInfo.shortName = pluginName;
-
- free(pVerInfo);
return &pluginInfo;
}
|