mirror of
https://github.com/holub/mame
synced 2025-04-24 17:30:55 +03:00
Merge pull request #1204 from npwoods/remove_unnecessary_not
Removed unnecessary logical-not operation
This commit is contained in:
commit
c49f2c6a8d
@ -274,7 +274,7 @@ bool input_character(std::string &buffer, unicode_char unichar, F &&filter)
|
||||
result = true;
|
||||
}
|
||||
}
|
||||
else if ((unichar >= ' ') && (!filter || filter(unichar)))
|
||||
else if ((unichar >= ' ') && filter(unichar))
|
||||
{
|
||||
// append this character
|
||||
buffer += utf8_from_uchar(unichar);
|
||||
|
Loading…
Reference in New Issue
Block a user