OSDN Git Service
(root)
/
timidity41
/
timidity41.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5564438
)
added parentheses around the ambiguous conditional expression
author
Takashi Iwai
<tiwai@suse.de>
Mon, 25 Aug 2003 10:03:38 +0000
(10:03 +0000)
committer
Takashi Iwai
<tiwai@suse.de>
Mon, 25 Aug 2003 10:03:38 +0000
(10:03 +0000)
to avoid compile warnings.
timidity/playmidi.c
patch
|
blob
|
history
diff --git
a/timidity/playmidi.c
b/timidity/playmidi.c
index
cd7fc72
..
55fe5da
100644
(file)
--- a/
timidity/playmidi.c
+++ b/
timidity/playmidi.c
@@
-2931,7
+2931,7
@@
void midi_program_change(int ch, int prog)
? SPECIAL_PROGRAM : prog;
channel[ch].altassign = NULL;
ctl_mode_event(CTLE_DRUMPART, 1, ch, 0);
- if (opt_realtime_playing &&
play_mode->flag & PF_PCM_STREAM
) {
+ if (opt_realtime_playing &&
(play_mode->flag & PF_PCM_STREAM)
) {
b = channel[ch].bank, p = prog;
instrument_map(channel[ch].mapID, &b, &p);
play_midi_load_instrument(0, b, p);