Apply clang-format rules

This commit is contained in:
Hielke Morsink committed 2022-07-31 20:34:32 +02:00
1 parent 274ab7190d
commit 7cb2113252
2 files changed
+4 -3

No files matched your search

+2 -1
View File
@@ -4424,7 +4424,8 @@ void window_ride_construction_keyboard_shortcut_previous_track()
void window_ride_construction_keyboard_shortcut_next_track()
{
rct_window* w = window_find_by_class(WC_RIDE_CONSTRUCTION);
if (w == nullptr || WidgetIsDisabled(*w, WIDX_NEXT_SECTION) || w->widgets[WIDX_NEXT_SECTION].type == WindowWidgetType::Empty)
if (w == nullptr || WidgetIsDisabled(*w, WIDX_NEXT_SECTION)
|| w->widgets[WIDX_NEXT_SECTION].type == WindowWidgetType::Empty)
{
return;
}
+2 -2
View File
@@ -279,8 +279,8 @@ public:
}
break;
case WIDX_FILTER_STRING:
window_start_textbox(*this, widgetIndex, STR_STRING, _filterString, sizeof(_filterString)); // TODO check this
// out
window_start_textbox(
*this, widgetIndex, STR_STRING, _filterString, sizeof(_filterString)); // TODO check this out
break;
case WIDX_FILTER_CLEAR:
// Keep the highlighted item selected