mirror of
https://github.com/alsa-project/alsa-utils
synced 2024-11-09 17:25:42 +01:00
amixer: fix parsing of control ID name
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
parent
ef919a4724
commit
87c58b59b5
1 changed files with 1 additions and 1 deletions
|
@ -1120,8 +1120,8 @@ static int parse_control_id(const char *str, snd_ctl_elem_id_t *id)
|
|||
}
|
||||
str++;
|
||||
}
|
||||
*ptr = '\0';
|
||||
}
|
||||
*ptr = '\0';
|
||||
snd_ctl_elem_id_set_name(id, buf);
|
||||
} else if (!strncasecmp(str, "index=", 6)) {
|
||||
str += 6;
|
||||
|
|
Loading…
Reference in a new issue