aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2022-01-18 15:42:12 +0200
committerHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2022-01-18 15:47:46 +0200
commitf25114148320c3fe07af3abc6e2f150d0a2c10f4 (patch)
tree3dd34a92dd315027e06ea3cb4c8658b6782ae04f /src
parentd0bf9bb6a539f151ec92725d20a2b6c22cb095a5 (diff)
util: Fix mis-swapped `prettyIndent` and `indentLevel` arguments
Diffstat (limited to 'src')
-rw-r--r--src/util/settings.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/settings.cpp b/src/util/settings.cpp
index 442a55ffb0..683b7ae652 100644
--- a/src/util/settings.cpp
+++ b/src/util/settings.cpp
@@ -112,7 +112,7 @@ bool WriteSettings(const fs::path& path,
errors.emplace_back(strprintf("Error: Unable to open settings file %s for writing", fs::PathToString(path)));
return false;
}
- file << out.write(/* prettyIndent= */ 1, /* indentLevel= */ 4) << std::endl;
+ file << out.write(/* prettyIndent= */ 4, /* indentLevel= */ 1) << std::endl;
file.close();
return true;
}