mirror of
https://github.com/chibicitiberiu/rainmeter-studio.git
synced 2024-02-24 04:33:31 +00:00
Added support for @Resources
This commit is contained in:
@ -569,12 +569,12 @@ void CMeasureNet::ResetStats()
|
||||
** Reads statistics.
|
||||
**
|
||||
*/
|
||||
void CMeasureNet::ReadStats(const WCHAR* iniFile, std::wstring& statsDate)
|
||||
void CMeasureNet::ReadStats(const std::wstring& iniFile, std::wstring& statsDate)
|
||||
{
|
||||
WCHAR buffer[48];
|
||||
|
||||
CConfigParser parser;
|
||||
parser.Initialize(iniFile, NULL, NULL, L"Statistics");
|
||||
parser.Initialize(iniFile, NULL, L"Statistics");
|
||||
|
||||
const std::wstring& date = parser.ReadString(L"Statistics", L"Since", L"", false);
|
||||
if (!date.empty())
|
||||
|
Reference in New Issue
Block a user