mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-10-29 05:40:25 -04:00
conf: accept '_' character in the variable name
Fixes: https://github.com/alsa-project/alsa-lib/issues/197 Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
parent
85b3c276d2
commit
f44c94f24c
1 changed files with 1 additions and 1 deletions
|
|
@ -190,7 +190,7 @@ int _snd_eval_string(snd_config_t **dst, const char *s,
|
|||
} else {
|
||||
e = s + 1;
|
||||
while (*e) {
|
||||
if (!isalnum(*e))
|
||||
if (!isalnum(*e) && *e != '_')
|
||||
break;
|
||||
e++;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue