1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-23 00:04:06 +00:00

fix: some labels not displayed in transmission-remote (#5600)

Fixes #5571.
This commit is contained in:
Charles Kerr 2023-06-10 19:01:32 -05:00 committed by GitHub
parent 8ca02b8f28
commit ebd5080a93
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -951,7 +951,7 @@ static void printDetails(tr_variant* top)
for (size_t child_idx = 0, n_children = tr_variantListSize(l); child_idx < n_children; ++child_idx) for (size_t child_idx = 0, n_children = tr_variantListSize(l); child_idx < n_children; ++child_idx)
{ {
if (tr_variantGetStrView(tr_variantListChild(l, child_idx++), &sv)) if (tr_variantGetStrView(tr_variantListChild(l, child_idx), &sv))
{ {
fmt::print(child_idx == 1 ? "{:s}" : ", {:s}", sv); fmt::print(child_idx == 1 ? "{:s}" : ", {:s}", sv);
} }