From: c vw Date: Mon, 16 Mar 2020 08:36:35 +0000 (+0100) Subject: polished comments X-Git-Url: https://git.rkrishnan.org/pf/content/en/(%5B%5E?a=commitdiff_plain;h=d0d399bc21161546971459d13e89189f3c411f95;p=pihpsdr.git polished comments --- 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) {