From: Jaroslav Kysela Date: Tue, 6 Oct 2020 08:43:38 +0000 (+0200) Subject: ucm: substitute the comment string also in the main configuration file X-Git-Tag: v1.2.4~15 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=61749cf40083e02014becc4bdebf4c734a4dc5d3;p=alsa-lib.git ucm: substitute the comment string also in the main configuration file Signed-off-by: Jaroslav Kysela --- diff --git a/src/ucm/parser.c b/src/ucm/parser.c index e57e208a..8af232d2 100644 --- a/src/ucm/parser.c +++ b/src/ucm/parser.c @@ -1873,7 +1873,7 @@ static int parse_master_file(snd_use_case_mgr_t *uc_mgr, snd_config_t *cfg) continue; if (strcmp(id, "Comment") == 0) { - err = parse_string(n, &uc_mgr->comment); + err = parse_string_substitute3(uc_mgr, n, &uc_mgr->comment); if (err < 0) { uc_error("error: failed to get master comment"); return err;