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
1 changed files with 2 additions and 2 deletions

View File

@ -149,9 +149,9 @@ AssAutomationFilter::AssAutomationFilter(AutomationScript *a_script)
{ {
Register(wxString::Format(_T("Automation: %s"), script->name.c_str()), 2000); Register(wxString::Format(_T("Automation: %s"), script->name.c_str()), 2000);
if (script->description.IsEmpty()) { 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 { } else {
Description = script->description; description = script->description;
} }
automation_filter_list.push_back(this); automation_filter_list.push_back(this);
} }