mirror of
https://github.com/radio95-rnt/rds95.git
synced 2026-02-26 20:33:53 +01:00
i swear to god
This commit is contained in:
@@ -619,6 +619,15 @@ void process_ascii_cmd(RDSModulator* mod, char *str) {
|
||||
return;
|
||||
}
|
||||
|
||||
char *equals_pos = strchr(upper_str, '=');
|
||||
if (equals_pos != NULL) {
|
||||
cmd = upper_str;
|
||||
cmd[equals_pos - upper_str] = 0;
|
||||
arg = equals_pos + 1;
|
||||
|
||||
process_pattern_commands(cmd, arg, output, mod);
|
||||
}
|
||||
|
||||
if (cmd_len > 1 && str[1] == '=') {
|
||||
cmd = upper_str;
|
||||
cmd[1] = 0;
|
||||
@@ -706,13 +715,4 @@ void process_ascii_cmd(RDSModulator* mod, char *str) {
|
||||
cmd, arg, output, mod)) {
|
||||
}
|
||||
}
|
||||
|
||||
char *equals_pos = strchr(upper_str, '=');
|
||||
if (equals_pos != NULL) {
|
||||
cmd = upper_str;
|
||||
cmd[equals_pos - upper_str] = 0;
|
||||
arg = equals_pos + 1;
|
||||
|
||||
process_pattern_commands(cmd, arg, output, mod);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user