mirror of
https://github.com/chibicitiberiu/rainmeter-studio.git
synced 2024-02-24 04:33:31 +00:00
Additional change to r887.
This commit is contained in:
parent
5eef7a21c7
commit
904ed76960
@ -177,7 +177,7 @@ int LuaScript::RunFunctionWithReturn(const char* funcName, double& numValue, std
|
|||||||
{
|
{
|
||||||
const char* str = lua_tostring(m_State, -1);
|
const char* str = lua_tostring(m_State, -1);
|
||||||
strValue = ConvertToWide(str);
|
strValue = ConvertToWide(str);
|
||||||
numValue = 0;
|
numValue = strtod(str, NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
lua_pop(m_State, 2);
|
lua_pop(m_State, 2);
|
||||||
|
Loading…
Reference in New Issue
Block a user