diff options
Diffstat (limited to 'plugins/FlashAvatars/cflash.cpp')
-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;
}
|