Fixed building of automation

Originally committed to SVN as r359.
This commit is contained in:
Rodrigo Braz Monteiro 2006-05-01 20:00:59 +00:00
parent 97f4b48d73
commit f5d989c554

View file

@ -149,9 +149,9 @@ AssAutomationFilter::AssAutomationFilter(AutomationScript *a_script)
{
Register(wxString::Format(_T("Automation: %s"), script->name.c_str()), 2000);
if (script->description.IsEmpty()) {
Description = wxString::Format(_T("%s\r\n(This Automation script has not provided a description.)"), script->name.c_str());
description = wxString::Format(_T("%s\r\n(This Automation script has not provided a description.)"), script->name.c_str());
} else {
Description = script->description;
description = script->description;
}
automation_filter_list.push_back(this);
}