This commit is contained in:
Birunthan Mohanathas 2013-05-30 19:59:50 +03:00
parent f8c3f11913
commit 4332cea3d0
2 changed files with 3 additions and 2 deletions

View File

@ -845,7 +845,8 @@ void CCommandHandler::DoWriteKeyValueBang(std::vector<std::wstring>& args, CMete
if (skin)
{
double value;
if (skin->GetParser().ParseFormula(strValue, &value))
formula = skin->GetParser().ParseFormula(strValue, &value);
if (formula)
{
WCHAR buffer[256];
int len = _snwprintf_s(buffer, _TRUNCATE, L"%.5f", value);

View File

@ -1,5 +1,5 @@
/*
Copyright (C) 2012 Rainmeter Team
Copyright (C) 2013 Rainmeter Team
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License