Fix error from b6c88df9e7da58921cd00813b7d99e41352bb03f

Parameter name 'filter' masked struct name 'filter'
This commit is contained in:
Gregory A Lundberg 2016-11-11 14:19:06 -06:00
parent 3b46cd30a8
commit ff287a4855

View File

@ -185,13 +185,13 @@ REGISTER(blend,
"is ignored.")
void
filter_apply(surface& surf, const std::string& filter)
filter_apply(surface& surf, const std::string& filter_string)
{
std::vector<std::string> f = utils::split(filter, ':', utils::STRIP_SPACES);
std::vector<std::string> f = utils::split(filter_string, ':', utils::STRIP_SPACES);
if(f.size() != 2) {
std::cerr << "Error: Filter »"
<< filter
<< filter_string
<< "« doesn't contain the expected separator »:«\n";
throw exiter(EXIT_FAILURE);