diff options
author | N.N. <matju@users.sourceforge.net> | 2009-05-14 01:21:19 +0000 |
---|---|---|
committer | N.N. <matju@users.sourceforge.net> | 2009-05-14 01:21:19 +0000 |
commit | 30f8dd4b6031d0919200d80726ca0ee52096aa68 (patch) | |
tree | ca7f6cc0588feb7f734b200fde1349b37639de73 | |
parent | 8c7c9bf266e75afefc7676bfd7074cada4263024 (diff) |
fix warnings
svn path=/trunk/; revision=11342
-rw-r--r-- | desiredata/src/s_midi.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/desiredata/src/s_midi.c b/desiredata/src/s_midi.c index f8ee0fd9..b77017e6 100644 --- a/desiredata/src/s_midi.c +++ b/desiredata/src/s_midi.c @@ -411,13 +411,13 @@ void sys_open_midi(int nmidiindev, int *midiindev, int nmidioutdev, int *midiout midi_oss_init(); #endif #endif - if (enable) + if (enable) { #ifdef USEAPI_ALSA - if (sys_midiapi == API_ALSA) - sys_alsa_do_open_midi(nmidiindev, midiindev, nmidioutdev, midioutdev); + if (sys_midiapi == API_ALSA) sys_alsa_do_open_midi(nmidiindev, midiindev, nmidioutdev, midioutdev); else #endif /* ALSA */ sys_do_open_midi(nmidiindev, midiindev, nmidioutdev, midioutdev); + } sys_save_midi_params(nmidiindev, midiindev, nmidioutdev, midioutdev); sys_vgui("set pd_whichmidiapi %d\n", sys_midiapi); } |