From 3adaad2a46cddaa4c79bda022c55f4eef7c3f5af Mon Sep 17 00:00:00 2001 From: cbdev Date: Sat, 17 Aug 2019 00:04:51 +0200 Subject: Fix exec indexing --- backends/maweb.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'backends/maweb.c') 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++){ -- cgit v1.2.3