util: Fix mis-swapped prettyIndent and indentLevel arguments

This commit is contained in:
Hennadii Stepanov committed 2022-01-18 15:47:46 +02:00
1 parent d0bf9bb6a5
commit f251141483
1 file changed
+1 -1
+1 -1
View File
@@ -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;
}