From 9bad8b6f9f8704eb6e4730f0af66bba477044976 Mon Sep 17 00:00:00 2001 From: c vw Date: Fri, 21 May 2021 20:01:11 +0200 Subject: [PATCH] Corrected search in steps list --- step_menu.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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