Merge pull request #42300 from KoBeWi/noline
Remove unnecessary empty line from Dictionaries
This commit is contained in:
commit
5e24232597
1 changed files with 3 additions and 1 deletions
|
@ -1608,10 +1608,12 @@ Error VariantWriter::write(const Variant &p_variant, StoreStringFunc p_store_str
|
|||
write(dict[E->get()], p_store_string_func, p_store_string_ud, p_encode_res_func, p_encode_res_ud);
|
||||
if (E->next()) {
|
||||
p_store_string_func(p_store_string_ud, ",\n");
|
||||
} else {
|
||||
p_store_string_func(p_store_string_ud, "\n");
|
||||
}
|
||||
}
|
||||
|
||||
p_store_string_func(p_store_string_ud, "\n}");
|
||||
p_store_string_func(p_store_string_ud, "}");
|
||||
|
||||
} break;
|
||||
case Variant::ARRAY: {
|
||||
|
|
Loading…
Reference in a new issue