aboutsummaryrefslogtreecommitdiff
path: root/desiredata
diff options
context:
space:
mode:
authorN.N. <matju@users.sourceforge.net>2009-05-14 01:21:19 +0000
committerN.N. <matju@users.sourceforge.net>2009-05-14 01:21:19 +0000
commit30f8dd4b6031d0919200d80726ca0ee52096aa68 (patch)
treeca7f6cc0588feb7f734b200fde1349b37639de73 /desiredata
parent8c7c9bf266e75afefc7676bfd7074cada4263024 (diff)
fix warnings
svn path=/trunk/; revision=11342
Diffstat (limited to 'desiredata')
-rw-r--r--desiredata/src/s_midi.c6
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);
}