From d0d399bc21161546971459d13e89189f3c411f95 Mon Sep 17 00:00:00 2001 From: c vw Date: Mon, 16 Mar 2020 09:36:35 +0100 Subject: [PATCH] polished comments --- oc_menu.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/oc_menu.c b/oc_menu.c index 6749ebc..6dcbab9 100644 --- a/oc_menu.c +++ b/oc_menu.c @@ -209,7 +209,9 @@ void oc_menu(GtkWidget *parent) { // // fused loop. i runs over the following values: - // band_gen, 0 ... bands-1, BANDS ... BANDS+XVTRS-1 + // bandGen, 0 ... bands-1, BANDS ... BANDS+XVTRS-1 + // XVTR bands not-yet-assigned have an empty title + // and are filtered out // i=bandGen; for(;;) { @@ -243,6 +245,7 @@ void oc_menu(GtkWidget *parent) { } row++; } + // update "loop index" if (i == bandGen) { i=0; } else if (i == bands-1) { -- 2.45.2