From: c vw Date: Fri, 21 May 2021 18:02:15 +0000 (+0200) Subject: small fix X-Git-Url: https://git.rkrishnan.org/listings/vdrive/index.php?a=commitdiff_plain;h=161e08d9e41cba1188871691b83246a597073bf0;p=pihpsdr.git small fix --- diff --git a/midi_menu.c b/midi_menu.c index 3e68ae5..14c0783 100644 --- a/midi_menu.c +++ b/midi_menu.c @@ -579,7 +579,7 @@ static void add_cb(GtkButton *widget,gpointer user_data) { gint action; gint onoff; - if(str_type==NULL || str_action==NULL) { + if(str_type==NULL) { return; } @@ -964,8 +964,8 @@ void midi_menu(GtkWidget *parent) { // Load Action box with "Key" actions i=0; jkey=0; - jknob; - jwheel; + jknob=0; + jwheel=0; // // the lists note the position of the action #i in the newAction_ combo-box // an action can appear in more than one combo-box.