commit c019c0904ad0ca8c926f4c9f1f243177d77e81f3
parent 250fb939c9a25d64e56451d08f1c3f7a4aaa4994
Author: Sandor Molnar <smolnar@mozilla.com>
Date: Fri, 31 Oct 2025 21:17:23 +0200
Bug 1992198 - Fix a typo introduced by a rebase
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/widget/gtk/nsWindow.cpp b/widget/gtk/nsWindow.cpp
@@ -925,7 +925,7 @@ bool nsWindow::ConstrainSizeWithScale(int* aWidth, int* aHeight,
*aWidth = mClientMargin.LeftRight() + 1;
}
if (*aHeight <= mClientMargin.TopBottom()) {
- *aHeight <= mClientMargin.TopBottom() + 1;
+ *aHeight = mClientMargin.TopBottom() + 1;
}
// We store our constraints in inner sizes for convenience, but that means we