mirror of
https://github.com/chibicitiberiu/rainmeter-studio.git
synced 2024-02-24 04:33:31 +00:00
Alex's change to add #CRLF# as a built in variable to add a carriage return / linefeed to strings.
[MeterOne] Meter=String MeasureName=MeasureOne MeasureName2=MeasureTwo Text=%1#CRLF%2 [MeterTwo] Meter=String Text=This is a long string#CRLF#On two lines Substitute="<br/>:"#CRLF#"
This commit is contained in:
parent
4cf4a84afb
commit
c71a4096d1
@ -104,6 +104,7 @@ void CConfigParser::SetDefaultVariables(CRainmeter* pRainmeter, CMeterWindow* me
|
|||||||
SetVariable(L"PLUGINSPATH", pRainmeter->GetPluginPath());
|
SetVariable(L"PLUGINSPATH", pRainmeter->GetPluginPath());
|
||||||
SetVariable(L"CURRENTPATH", CRainmeter::ExtractPath(m_Filename));
|
SetVariable(L"CURRENTPATH", CRainmeter::ExtractPath(m_Filename));
|
||||||
SetVariable(L"ADDONSPATH", pRainmeter->GetPath() + L"Addons\\");
|
SetVariable(L"ADDONSPATH", pRainmeter->GetPath() + L"Addons\\");
|
||||||
|
SetVariable(L"CRLF", L"\n");
|
||||||
}
|
}
|
||||||
if (meterWindow)
|
if (meterWindow)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user