From a91c98567438a5388ae788953ee992a4e0e5a3e8 Mon Sep 17 00:00:00 2001 From: Charles Kerr Date: Sat, 10 Jun 2023 19:01:32 -0500 Subject: [PATCH] fix: some labels not displayed in transmission-remote (#5600) Fixes #5571. --- utils/remote.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/remote.cc b/utils/remote.cc index 7d429631f..f17074d5c 100644 --- a/utils/remote.cc +++ b/utils/remote.cc @@ -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) { - 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); }