From 507672d315d3d412c7d6c45b683251cb6436e58c Mon Sep 17 00:00:00 2001 From: c vw Date: Fri, 21 May 2021 20:00:42 +0200 Subject: [PATCH] Corrected search in steps list --- vfo_menu.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/vfo_menu.c b/vfo_menu.c index 8cef9d6..cac68ef 100644 --- a/vfo_menu.c +++ b/vfo_menu.c @@ -1,4 +1,4 @@ -/* Copyright (C) + Copyright (C) * 2016 - John Melton, G0ORX/N6LYT * * This program is free software; you can redistribute it and/or @@ -293,13 +293,11 @@ void vfo_menu(GtkWidget *parent,int vfo) { gtk_grid_attach(GTK_GRID(grid),vfo_label,3,3,1,1); GtkWidget *vfo_b=gtk_combo_box_text_new(); - i=0; - while(steps[i]!=0) { + for (i=0; i