mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-03-06 14:19:59 -05:00
util: Fix mis-swapped prettyIndent
and indentLevel
arguments
This commit is contained in:
parent
d0bf9bb6a5
commit
f251141483
1 changed files with 1 additions and 1 deletions
|
@ -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)));
|
errors.emplace_back(strprintf("Error: Unable to open settings file %s for writing", fs::PathToString(path)));
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
file << out.write(/* prettyIndent= */ 1, /* indentLevel= */ 4) << std::endl;
|
file << out.write(/* prettyIndent= */ 4, /* indentLevel= */ 1) << std::endl;
|
||||||
file.close();
|
file.close();
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue