mirror of
https://github.com/alsa-project/alsa-utils
synced 2024-09-19 17:49:59 +02: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++;
|
str++;
|
||||||
}
|
}
|
||||||
*ptr = '\0';
|
|
||||||
}
|
}
|
||||||
|
*ptr = '\0';
|
||||||
snd_ctl_elem_id_set_name(id, buf);
|
snd_ctl_elem_id_set_name(id, buf);
|
||||||
} else if (!strncasecmp(str, "index=", 6)) {
|
} else if (!strncasecmp(str, "index=", 6)) {
|
||||||
str += 6;
|
str += 6;
|
||||||
|
|
Loading…
Reference in a new issue