From 60c68afdde70a196a56303621687ef6912803fe5 Mon Sep 17 00:00:00 2001 From: Charles Kerr Date: Sun, 11 Jun 2023 11:25:35 -0500 Subject: [PATCH] Revert "fix: some labels not displayed in transmission-remote (#5600)" This reverts commit ebd5080a934c6b1faab4b9c5f6ef72698c7e111f. --- utils/remote.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/remote.cc b/utils/remote.cc index cd62b163f..e87088e16 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); }