mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-09 07:05:43 +01:00
Fix typo in event type parser; fixes #3323.
git-svn-id: svn://localhost/ardour2/branches/3.0@7435 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
2fdd30ce0a
commit
daec83d258
1 changed files with 1 additions and 1 deletions
|
|
@ -219,7 +219,7 @@ EventTypeMap::new_parameter(const string& str) const
|
|||
assert(channel < 16);
|
||||
p_id = 0;
|
||||
p_channel = channel;
|
||||
} else if (str.length() > 24 && str.substr(0, 24) == "midi-channel-pressure-") {
|
||||
} else if (str.length() > 22 && str.substr(0, 22) == "midi-channel-pressure-") {
|
||||
p_type = MidiChannelPressureAutomation;
|
||||
uint32_t channel = 0;
|
||||
sscanf(str.c_str(), "midi-channel-pressure-%d", &channel);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue