projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2fdd30c
)
Fix typo in event type parser; fixes #3323.
author
Carl Hetherington
<carl@carlh.net>
Sat, 17 Jul 2010 00:56:06 +0000
(
00:56
+0000)
committer
Carl Hetherington
<carl@carlh.net>
Sat, 17 Jul 2010 00:56:06 +0000
(
00:56
+0000)
git-svn-id: svn://localhost/ardour2/branches/3.0@7435
d708f5d6
-7413-0410-9779-
e7cbd77b26cf
libs/ardour/event_type_map.cc
patch
|
blob
|
history
diff --git
a/libs/ardour/event_type_map.cc
b/libs/ardour/event_type_map.cc
index 0388a934f20bd9fa92ebd5af2e0ee1257040db17..a2db60f4ba110292676cfe9d98fe4d630f9c8587 100644
(file)
--- a/
libs/ardour/event_type_map.cc
+++ b/
libs/ardour/event_type_map.cc
@@
-219,7
+219,7
@@
EventTypeMap::new_parameter(const string& str) const
assert(channel < 16);
p_id = 0;
p_channel = channel;
- } else if (str.length() > 2
4 && str.substr(0, 24
) == "midi-channel-pressure-") {
+ } else if (str.length() > 2
2 && str.substr(0, 22
) == "midi-channel-pressure-") {
p_type = MidiChannelPressureAutomation;
uint32_t channel = 0;
sscanf(str.c_str(), "midi-channel-pressure-%d", &channel);