1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-31 18:39:10 +00:00

(svn r16796) -Fix [FS#3030]: Closebox 'X' is a string. (Rubidium)

This commit is contained in:
alberth
2009-07-12 09:41:44 +00:00
parent b5b743bcba
commit e3f4293401

View File

@@ -1943,7 +1943,7 @@ int NWidgetLeaf::SetupSmallestSize(Window *w)
break;
case WWT_CLOSEBOX:
d2 = maxdim(d2, GetSpriteSize(this->widget_data));
d2 = maxdim(d2, GetStringBoundingBox(this->widget_data));
d2.height += WD_CLOSEBOX_TOP;
break;