From: Ramakrishnan Muthukrishnan <ram@rkrishnan.org> Date: Mon, 3 Jan 2022 10:06:54 +0000 (+0530) Subject: this is not number of steps, it is number of buttons X-Git-Url: https://git.rkrishnan.org/components/-?a=commitdiff_plain;h=9d6f8e837553f3a49504d35e15ce6ede80fb8b9b;p=pihpsdr.git this is not number of steps, it is number of buttons --- 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]);