diff options
author | Pablo Barciela <[email protected]> | 2019-03-06 03:55:38 +0100 |
---|---|---|
committer | Pablo Barciela <[email protected]> | 2019-07-02 16:30:27 +0200 |
commit | 1f2352b9e8937ae2d8f24fc8a12be5717bd21528 (patch) | |
tree | 86e8b91bdfc2d8d9cef21ea942aa37571bebe976 /src/tools | |
parent | f4edb9de82a65b4ffc0c888ba70401475b1f6c50 (diff) | |
download | marco-1f2352b9e8937ae2d8f24fc8a12be5717bd21528.tar.bz2 marco-1f2352b9e8937ae2d8f24fc8a12be5717bd21528.tar.xz |
boxes: Actually check for rectangle containment
Fixes condition duplicated:
/* If a contains b, just remove b */
if (meta_rectangle_contains_rect (a, b))
{
delete_me = other;
}
/* If b contains a, just remove a */
else if (meta_rectangle_contains_rect (a, b))
{
delete_me = compare;
}
Diffstat (limited to 'src/tools')
0 files changed, 0 insertions, 0 deletions