Changeset - r12361:6e612b7e2134
[Not reviewed]
master
0 1 0
alberth - 15 years ago 2009-07-12 09:41:44
alberth@openttd.org
(svn r16796) -Fix [FS#3030]: Closebox 'X' is a string. (Rubidium)
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/widget.cpp
Show inline comments
 
@@ -1943,7 +1943,7 @@ int NWidgetLeaf::SetupSmallestSize(Windo
 
				break;
 

	
 
			case WWT_CLOSEBOX:
 
				d2 = maxdim(d2, GetSpriteSize(this->widget_data));
 
				d2 = maxdim(d2, GetStringBoundingBox(this->widget_data));
 
				d2.height += WD_CLOSEBOX_TOP;
 
				break;
 

	
0 comments (0 inline, 0 general)