view: fix early return condition

This commit is contained in:
Jens Peters 2024-01-22 23:14:25 +01:00 committed by Johan Malm
parent 945eea8f27
commit 10d417258a

View file

@ -763,7 +763,7 @@ view_constrain_size_to_that_of_usable_area(struct view *view)
}
if (available_height >= view->pending.height &&
available_width >= view->pending.height) {
available_width >= view->pending.width) {
return;
}