mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
Protobuf: change space indentation
Use 4 space indentation instead of 1 when using the newline/space option.
This commit is contained in:
parent
0aad26ad20
commit
5902f2e37d
2
src/thirdparty/protobuf/util/json_util.cc
vendored
2
src/thirdparty/protobuf/util/json_util.cc
vendored
@ -99,7 +99,7 @@ util::Status BinaryToJsonStream(TypeResolver* resolver,
|
||||
converter::ProtoStreamObjectSource proto_source(&in_stream, resolver, type,
|
||||
render_options);
|
||||
io::CodedOutputStream out_stream(json_output);
|
||||
converter::JsonObjectWriter json_writer(options.add_whitespace ? " " : "",
|
||||
converter::JsonObjectWriter json_writer(options.add_whitespace ? " " : "",
|
||||
&out_stream);
|
||||
if (options.always_print_primitive_fields) {
|
||||
converter::DefaultValueObjectWriter default_value_writer(resolver, type,
|
||||
|
Loading…
x
Reference in New Issue
Block a user