mirror of
https://github.com/chibicitiberiu/rainmeter-studio.git
synced 2024-02-24 04:33:31 +00:00
Fixes to f8c3f11
This commit is contained in:
@ -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);
|
||||
|
Reference in New Issue
Block a user