forked from mirror/OpenTTD
Codechange: Remove unused parameter for Height()
DropDownListItem::Height does not need to take an argument so remove it Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
This commit is contained in:
committed by
rubidium42
parent
59a2abd298
commit
ac42dea7b2
@@ -475,7 +475,7 @@ struct GameOptionsWindow : Window {
|
||||
Dimension string_dim;
|
||||
int width = ddli->Width();
|
||||
string_dim.width = width + padding.width;
|
||||
string_dim.height = ddli->Height(width) + padding.height;
|
||||
string_dim.height = ddli->Height() + padding.height;
|
||||
*size = maxdim(*size, string_dim);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user