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:
parent
f8c3f11913
commit
4332cea3d0
@ -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);
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user