mirror of
https://github.com/chibicitiberiu/rainmeter-studio.git
synced 2024-02-24 04:33:31 +00:00
Minor fix
This commit is contained in:
parent
e0ec47f9a0
commit
69f84781f1
@ -264,7 +264,7 @@ bool CConfigParser::GetSectionVariable(std::wstring& strVariable, std::wstring&
|
|||||||
else if (*selectorSz == L'/') // Scale
|
else if (*selectorSz == L'/') // Scale
|
||||||
{
|
{
|
||||||
errno = 0;
|
errno = 0;
|
||||||
scale = _wtoi(selectorSz);
|
scale = _wtoi(selectorSz + 1);
|
||||||
if (errno == EINVAL)
|
if (errno == EINVAL)
|
||||||
{
|
{
|
||||||
scale = 1.0;
|
scale = 1.0;
|
||||||
|
Loading…
Reference in New Issue
Block a user