mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-25 15:54:31 +01:00
Remove trailing whitespace in sources
This commit is contained in:
@@ -255,7 +255,7 @@ static void ThrowThemeLoadException()
|
||||
json_t * UIThemeWindowEntry::ToJson() const
|
||||
{
|
||||
const WindowThemeDesc * wtDesc = GetWindowThemeDescriptor(WindowClass);
|
||||
|
||||
|
||||
json_t * jsonColours = json_array();
|
||||
for (uint8 i = 0; i < wtDesc->NumColours; i++) {
|
||||
colour_t colour = Theme.Colours[i];
|
||||
@@ -282,7 +282,7 @@ UIThemeWindowEntry UIThemeWindowEntry::FromJson(const WindowThemeDesc * wtDesc,
|
||||
UIThemeWindowEntry result;
|
||||
result.WindowClass = wtDesc->WindowClass;
|
||||
result.Theme = wtDesc->DefaultTheme;
|
||||
|
||||
|
||||
for (uint8 i = 0; i < numColours; i++)
|
||||
{
|
||||
result.Theme.Colours[i] = (colour_t)json_integer_value(json_array_get(jsonColours, i));
|
||||
@@ -536,7 +536,7 @@ namespace ThemeManager
|
||||
AvailableTheme theme;
|
||||
Path::GetFileNameWithoutExtension(theme.Name, sizeof(theme.Name), fileInfo.path);
|
||||
GetThemeFileName(theme.Path, sizeof(theme.Path), theme.Name);
|
||||
|
||||
|
||||
outThemes->push_back(theme);
|
||||
|
||||
if (Path::Equals(CurrentThemePath, fileInfo.path))
|
||||
@@ -621,7 +621,7 @@ namespace ThemeManager
|
||||
configValid = true;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
if (!configValid)
|
||||
{
|
||||
String::DiscardDuplicate(&gConfigInterface.current_theme_preset, theme_manager_get_available_theme_name(1));
|
||||
|
||||
Reference in New Issue
Block a user