From ebd5080a934c6b1faab4b9c5f6ef72698c7e111f 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 e87088e16..cd62b163f 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); }