Skip to content

Commit

Permalink
fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
tcdude committed Aug 3, 2024
1 parent f2c901f commit 9d3663c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/internal/pack.c.h
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,7 @@ static bool internal_fa_place(free_area_t *a, kr_vec2_t *pos, float w, float h)
pos->x = fa_left;
pos->y = fa_top;

if (re_right + KRASS_MIN_FREE >= fa_right &&
re_bottom + KRASS_MIN_FREE >= fa_bottom) {
if (re_right + KRASS_MIN_FREE >= fa_right && re_bottom + KRASS_MIN_FREE >= fa_bottom) {
// Consume entire rect
internal_fa_shift_left(a, current);
}
Expand Down

0 comments on commit 9d3663c

Please sign in to comment.