From 370b045715549748f4cbfb7df711e5ddace63f58 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Tue, 5 Nov 2024 14:53:54 -0700 Subject: [PATCH] canvas: fix typo in using explicit size request --- libs/canvas/item.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/canvas/item.cc b/libs/canvas/item.cc index c11fc0559c..354dfeb1d9 100644 --- a/libs/canvas/item.cc +++ b/libs/canvas/item.cc @@ -650,7 +650,7 @@ Item::size_request (double& w, double& h) const Rect r (bounding_box()); w = _requested_width < 0 ? r.width() : _requested_width; - h = _requested_width < 0 ? r.height() : _requested_height; + h = _requested_height < 0 ? r.height() : _requested_height; } void