Changeset - r22713:56322b7d37b6
[Not reviewed]
master
0 1 0
michi_cc - 7 years ago 2017-12-09 19:21:41
michi_cc@openttd.org
(svn r27934) -Fix (r27900): Warning about unsigned unary minus.
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/window.cpp
Show inline comments
 
@@ -1682,7 +1682,7 @@ static Point GetAutoPlacePosition(int wi
 
	 * of the closebox
 
	 */
 
	int left = rtl ? _screen.width - width : 0, top = toolbar_y;
 
	int offset_x = rtl ? -NWidgetLeaf::closebox_dimension.width : NWidgetLeaf::closebox_dimension.width;
 
	int offset_x = rtl ? -(int)NWidgetLeaf::closebox_dimension.width : (int)NWidgetLeaf::closebox_dimension.width;
 
	int offset_y = max<int>(NWidgetLeaf::closebox_dimension.height, FONT_HEIGHT_NORMAL + WD_CAPTIONTEXT_TOP + WD_CAPTIONTEXT_BOTTOM);
 

	
 
restart:
0 comments (0 inline, 0 general)