forked from rosebudai/OpenRCT2-Web
Merge variable declarations and assignment into one line
This commit is contained in:
1 parent
42d69af5b5
commit
71d636e6b1
13 files changed
+30
-61
No files matched your search
@@ -227,9 +227,7 @@ static constexpr float kWindowScrollLocations[][2] = {
|
||||
|
||||
int32_t WindowGetScrollDataIndex(const WindowBase& w, WidgetIndex widget_index)
|
||||
{
|
||||
int32_t i, result;
|
||||
|
||||
result = 0;
|
||||
int32_t i, result = 0;
|
||||
for (i = 0; i < widget_index; i++)
|
||||
{
|
||||
const auto& widget = w.widgets[i];
|
||||
|
||||
Reference in new issue
Block a user