From 10d417258a57401e01d91ba7bb4b8e5aeac14c66 Mon Sep 17 00:00:00 2001 From: Jens Peters Date: Mon, 22 Jan 2024 23:14:25 +0100 Subject: [PATCH] view: fix early return condition --- src/view.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/view.c b/src/view.c index eaff4672..48493187 100644 --- a/src/view.c +++ b/src/view.c @@ -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; }