chore: simplified formatting
This commit is contained in:
parent
a72535dd61
commit
af5abfce67
1 changed files with 1 additions and 2 deletions
|
|
@ -40,8 +40,7 @@ bool Sentence::check_match_at(Vector2i at, Ref<Sentence> pattern) {
|
|||
}
|
||||
for (Vector2i itr{ 0, 0 }; itr.y < pattern_size.y; ++itr.y) {
|
||||
for (; itr.x < pattern_size.x; ++itr.x) {
|
||||
Symbol a{ get_at(at + itr) };
|
||||
Symbol b{ pattern->get_at(itr) };
|
||||
Symbol a{ get_at(at + itr) }, b{ pattern->get_at(itr) };
|
||||
if (a != b && (b != U'*' || a == U'u')) {
|
||||
return false; // difference found
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue