aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorcbdev <cb@cbcdn.com>2019-08-17 00:04:51 +0200
committercbdev <cb@cbcdn.com>2019-08-17 00:04:51 +0200
commit3adaad2a46cddaa4c79bda022c55f4eef7c3f5af (patch)
tree4f0bb3d1e84e1f36c5faab71fcfb52f8468b9c2f
parent25d168454d53bb990118825f9bca808876aa4d59 (diff)
downloadmidimonster-3adaad2a46cddaa4c79bda022c55f4eef7c3f5af.tar.gz
midimonster-3adaad2a46cddaa4c79bda022c55f4eef7c3f5af.tar.bz2
midimonster-3adaad2a46cddaa4c79bda022c55f4eef7c3f5af.zip
Fix exec indexing
-rw-r--r--backends/maweb.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/backends/maweb.c b/backends/maweb.c
index 4d93987..79e223f 100644
--- a/backends/maweb.c
+++ b/backends/maweb.c
@@ -222,11 +222,6 @@ static channel* maweb_channel(instance* inst, char* spec){
next_token += 6;
}
ident.fields.index = strtoul(next_token, NULL, 10);
-
- //fix up the identifiers for button execs
- if(ident.fields.index > 100){
- ident.fields.index -= 100;
- }
}
else{
for(n = 0; n < sizeof(cmdline_keys) / sizeof(char*); n++){