From d262ec92c8c0a5a91c52f91921776c9d3982881a Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Sun, 30 Jun 2013 18:38:28 +0000 Subject: preparing weather ini information for VI report git-svn-id: http://svn.miranda-ng.org/main/trunk@5196 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/VersionInfo/src/CVersionInfo.cpp | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'plugins/VersionInfo/src/CVersionInfo.cpp') diff --git a/plugins/VersionInfo/src/CVersionInfo.cpp b/plugins/VersionInfo/src/CVersionInfo.cpp index bc84d46001..a58bc5bb72 100644 --- a/plugins/VersionInfo/src/CVersionInfo.cpp +++ b/plugins/VersionInfo/src/CVersionInfo.cpp @@ -707,7 +707,7 @@ bool CVersionInfo::GetPluginLists() DWORD loadError; // SYSTEMTIME sysTime; //for timestamp - //bWeatherPlugin = false; + bWeatherPlugin = false; mirandaVersion = (DWORD)CallService(MS_SYSTEM_GETVERSION, 0, 0); { GetModuleFileName(GetModuleHandle(NULL), szMirandaPath, SIZEOF(szMirandaPath)); @@ -732,8 +732,8 @@ bool CVersionInfo::GetPluginLists() if (!ValidExtension(fd.cFileName, _T("dll"))) continue; //do not report plugins that do not have extension .dll - //if (_tcsicmp(fd.cFileName, _T("weather.dll")) == 0) - //bWeatherPlugin = true; + if (_tcsicmp(fd.cFileName, _T("weather.dll")) == 0) + bWeatherPlugin = true; hInstPlugin = GetModuleHandle(fd.cFileName); //try to get the handle of the module @@ -1153,7 +1153,9 @@ std::tstring CVersionInfo::GetInformationsAsString(int bDisableForumStyle) { out.append(GetListAsString(listUnloadablePlugins, flags, beautify)); BeautifyReport(beautify, normalPluginsEnd, _T(""), out); } - //if (bWeatherPlugin) + if (bWeatherPlugin) { + out.append(_T("\r\nWeather ini files:\r\n-------------------------------------------------------------------------------\r\n")); + } AddInfoFooter(suppressHeader, forumStyle, beautify, out); return out; -- cgit v1.2.3