projects
/
pihpsdr.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c94a284
)
polished comments
author
c vw
<dl1ycf@darc.de>
Mon, 16 Mar 2020 08:36:35 +0000
(09:36 +0100)
committer
c vw
<dl1ycf@darc.de>
Mon, 16 Mar 2020 08:36:35 +0000
(09:36 +0100)
oc_menu.c
patch
|
blob
|
history
diff --git
a/oc_menu.c
b/oc_menu.c
index 6749ebcbe33ee6f97e9e8807dcf602ae96fd807e..6dcbab9c2477cffed65a21b13371a51e52518571 100644
(file)
--- 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) {