From 9d6f8e837553f3a49504d35e15ce6ede80fb8b9b Mon Sep 17 00:00:00 2001
From: Ramakrishnan Muthukrishnan <ram@rkrishnan.org>
Date: Mon, 3 Jan 2022 15:36:54 +0530
Subject: [PATCH] this is not number of steps, it is number of buttons

---
 vfo_menu.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/vfo_menu.c b/vfo_menu.c
index fe6e3bb..d9ec9d5 100644
--- a/vfo_menu.c
+++ b/vfo_menu.c
@@ -257,7 +257,7 @@ void vfo_menu(GtkWidget *parent,int vfo) {
   gtk_grid_attach(GTK_GRID(grid),label,0,1,3,1);
 
   GtkWidget *step_rb=NULL;
-  for (i=0; i<STEPS; i++) {
+  for (i=0; i<16; i++) {
     btn[i]=gtk_button_new_with_label(btn_labels[i]);
     set_button_text_color(btn[i],"black");
     gtk_widget_show(btn[i]);
-- 
2.45.2