Skip to content

Commit

Permalink
Fix: device->ptr in rtmidi_in_ignore_types.
Browse files Browse the repository at this point in the history
The use of `->ptr` had been removed when cleaning the sources before the
previous commit.
  • Loading branch information
remy-j-a-moueza authored and radarsat1 committed Oct 11, 2016
1 parent d0a3ba0 commit f8d9bb5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rtmidi_c.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ void rtmidi_in_cancel_callback (RtMidiInPtr device)

void rtmidi_in_ignore_types (RtMidiInPtr device, bool midiSysex, bool midiTime, bool midiSense)
{
((RtMidiIn*) device)->ignoreTypes (midiSysex, midiTime, midiSense);
((RtMidiIn*) device->ptr)->ignoreTypes (midiSysex, midiTime, midiSense);
}

double rtmidi_in_get_message (RtMidiInPtr device,
Expand Down

0 comments on commit f8d9bb5

Please sign in to comment.