Menu: Fix cycling the "midi devices" menu option.

This commit is contained in:
svdijk 2017-05-14 06:57:57 +02:00 committed by alexey.lysiuk
parent b6ef9fae3e
commit 6dd570c538
1 changed files with 2 additions and 4 deletions

View File

@ -51,9 +51,9 @@ static uint32_t nummididevices;
static bool nummididevicesset;
#ifdef HAVE_FLUIDSYNTH
#define NUM_DEF_DEVICES 6
#else
#define NUM_DEF_DEVICES 5
#else
#define NUM_DEF_DEVICES 4
#endif
static void AddDefaultMidiDevices(FOptionValues *opt)
@ -75,8 +75,6 @@ static void AddDefaultMidiDevices(FOptionValues *opt)
pair[p+2].Value = -2.0;
pair[p+3].Text = "WildMidi";
pair[p+3].Value = -6.0;
pair[p+4].Text = "Sound System";
pair[p+4].Value = -1.0;
}