From d2cf4da51fce2a399c445920a57ff78e818ab2e7 Mon Sep 17 00:00:00 2001 From: Clemens Zeidler Date: Fri, 17 Sep 2010 01:10:13 +0000 Subject: [PATCH] Fix min/max size calculation. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38681 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/add-ons/decorators/SATDecorator/SATWindow.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/add-ons/decorators/SATDecorator/SATWindow.cpp b/src/add-ons/decorators/SATDecorator/SATWindow.cpp index b17b899acc..e618849a89 100644 --- a/src/add-ons/decorators/SATDecorator/SATWindow.cpp +++ b/src/add-ons/decorators/SATDecorator/SATWindow.cpp @@ -504,8 +504,8 @@ SATWindow::GetSizeLimits(int32* minWidth, int32* maxWidth, int32* minHeight, // TODO get this values from the decorator *minWidth += 11; - *minHeight += 11; - *maxWidth += 32; + *minHeight += 32; + *maxWidth += 11; *maxHeight += 32; }