git repos / blockattack-game

commit 6d46a5a3

Poul Sander · 2023-09-23 14:42
6d46a5a3a1c7f7e640794e3967bd37b20b7d193d patch · browse files
parent 2660ccea1082a19a7e11548e4695af8760d89960

Auto format

Changed files

M source/code/themes.cpp before
diff --git a/source/code/themes.cpp b/source/code/themes.cpp index 3307a63..b4b0cfc 100644 --- a/source/code/themes.cpp +++ b/source/code/themes.cpp
@@ -69,7 +69,7 @@ static void InitBackGroundData() {
background_data["alt_background"] = alt_background;
}
-static void FillMissingFields(Theme &theme) {
+static void FillMissingFields(Theme& theme) {
if (theme.background_name.empty()) {
//If the theme does not define a background then use the standard.
theme.background_name = "standard";
@@ -81,7 +81,7 @@ static void FillMissingFields(Theme &theme) {
void DumpThemeData() {
ThemeFileData tfd;
tfd.themes = themes;
- for (auto &pair : background_data) {
+ for (auto& pair : background_data) {
tfd.background_data.push_back(pair.second);
}
json j = tfd;