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:
Bernhard Reutner-Fischer
2023-09-19 00:47:47 +02:00
committed by rubidium42
parent 59a2abd298
commit ac42dea7b2
5 changed files with 10 additions and 11 deletions

View File

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