mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-29 01:35:06 +01:00
Simplify setting existing text
This commit is contained in:
committed by
Gymnasiast
parent
3448926251
commit
bd3ae5cbb9
@@ -422,7 +422,7 @@ static std::vector<Widget> _window_editor_object_selection_widgets = {
|
||||
break;
|
||||
}
|
||||
case WIDX_FILTER_TEXT_BOX:
|
||||
WindowStartTextbox(*this, widgetIndex, STR_STRING, _filter_string, sizeof(_filter_string));
|
||||
WindowStartTextbox(*this, widgetIndex, _filter_string, sizeof(_filter_string));
|
||||
break;
|
||||
case WIDX_FILTER_CLEAR_BUTTON:
|
||||
std::fill_n(_filter_string, sizeof(_filter_string), 0x00);
|
||||
|
||||
Reference in New Issue
Block a user