From: c vw Date: Fri, 21 May 2021 18:01:11 +0000 (+0200) Subject: Corrected search in steps list X-Git-Url: https://git.rkrishnan.org/listings/vdrive/index.php?a=commitdiff_plain;h=9bad8b6f9f8704eb6e4730f0af66bba477044976;p=pihpsdr.git Corrected search in steps list --- diff --git a/step_menu.c b/step_menu.c index 64d4650..8804d01 100644 --- a/step_menu.c +++ b/step_menu.c @@ -86,8 +86,7 @@ void step_menu(GtkWidget *parent) { gtk_grid_attach(GTK_GRID(grid),close_b,0,0,1,1); GtkWidget *step_rb=NULL; - int i=0; - while(steps[i]!=0) { + for (int i=0; i