From 76c0041c5178b5bf491295f803282e5a03c33918 Mon Sep 17 00:00:00 2001 From: Michael Lotz Date: Wed, 23 Nov 2005 17:49:38 +0000 Subject: [PATCH] I suppose setting the height was forgotten? git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15092 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/kits/interface/Box.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/kits/interface/Box.cpp b/src/kits/interface/Box.cpp index 9d2d51d1cf..63b04dc7dd 100644 --- a/src/kits/interface/Box.cpp +++ b/src/kits/interface/Box.cpp @@ -377,7 +377,7 @@ BBox::GetPreferredSize(float *_width, float *_height) if (_width) *_width = width; if (_height) - *_height; + *_height = height; }