mirror of
https://github.com/chibicitiberiu/rainmeter-studio.git
synced 2024-02-24 04:33:31 +00:00
Script:
- Added GetVariable function [usage: GetVariable("VariableName")] - Removed several unneeded exposed functions - r853 broke Substitute on the Script measure, fixed
This commit is contained in:
@ -5100,16 +5100,3 @@ CMeasure* CMeterWindow::GetMeasure(const std::wstring& measureName)
|
||||
}
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
const char* CMeterWindow::ReplaceVariables(const char* p_str)
|
||||
{
|
||||
static std::string aStr = "";
|
||||
std::wstring value = ConvertToWide(p_str);
|
||||
|
||||
m_Parser.ReplaceVariables(value);
|
||||
m_Parser.ReplaceMeasures(value);
|
||||
aStr = ConvertToAscii(value.c_str());
|
||||
const char* str = aStr.c_str();
|
||||
return str;
|
||||
}
|
Reference in New Issue
Block a user