Skip to content

Commit f251141

Browse files
committed
util: Fix mis-swapped prettyIndent and indentLevel arguments
1 parent d0bf9bb commit f251141

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/util/settings.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ bool WriteSettings(const fs::path& path,
112112
errors.emplace_back(strprintf("Error: Unable to open settings file %s for writing", fs::PathToString(path)));
113113
return false;
114114
}
115-
file << out.write(/* prettyIndent= */ 1, /* indentLevel= */ 4) << std::endl;
115+
file << out.write(/* prettyIndent= */ 4, /* indentLevel= */ 1) << std::endl;
116116
file.close();
117117
return true;
118118
}

0 commit comments

Comments
 (0)