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; }