From 30f8dd4b6031d0919200d80726ca0ee52096aa68 Mon Sep 17 00:00:00 2001 From: "N.N." Date: Thu, 14 May 2009 01:21:19 +0000 Subject: fix warnings svn path=/trunk/; revision=11342 --- desiredata/src/s_midi.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'desiredata') 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); } -- cgit v1.2.1