mirror of
https://github.com/wesnoth/wesnoth
synced 2025-04-25 11:57:19 +00:00
Fix error from b6c88df9e7da58921cd00813b7d99e41352bb03f
Parameter name 'filter' masked struct name 'filter'
This commit is contained in:
parent
3b46cd30a8
commit
ff287a4855
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user