Remove trailing whitespace in sources

This commit is contained in:
Michał Janiszewski committed 2016-11-13 20:32:55 +01:00
1 parent 9fed68bf6f
commit 3f7fd56328
92 files changed
+359 -359

No files matched your search

+4 -4
View File
@@ -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));