mirror of
https://github.com/OpenTTD/OpenTTD
synced 2026-01-20 02:42:42 +01:00
Codechange: Pass NWidgetParts as span instead of begin/end pointers. (#12779)
This commit is contained in:
@@ -197,7 +197,7 @@ static WindowDesc _helpwin_desc(
|
||||
WDP_CENTER, nullptr, 0, 0,
|
||||
WC_HELPWIN, WC_NONE,
|
||||
0,
|
||||
std::begin(_nested_helpwin_widgets), std::end(_nested_helpwin_widgets)
|
||||
_nested_helpwin_widgets
|
||||
);
|
||||
|
||||
void ShowHelpWindow()
|
||||
|
||||
Reference in New Issue
Block a user