mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-10-28 05:40:23 -04:00
ucm: format @@SyntaxVersion to 4 digits
It is better for regex matching. Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
parent
8f6fef8b1a
commit
e9e3c01ff7
2 changed files with 2 additions and 2 deletions
|
|
@ -1504,7 +1504,7 @@ skip:
|
|||
snd_config_delete(cfg);
|
||||
|
||||
uc_mgr_set_variable(uc_mgr, "@@LibraryVersion", SND_LIB_VERSION_STR);
|
||||
snprintf(vname, sizeof(vname), "%d", SYNTAX_VERSION_MAX);
|
||||
snprintf(vname, sizeof(vname), "%04d", SYNTAX_VERSION_MAX);
|
||||
uc_mgr_set_variable(uc_mgr, "@@SyntaxVersion", vname);
|
||||
|
||||
return end + 3;
|
||||
|
|
|
|||
|
|
@ -407,7 +407,7 @@ ${eval:\<str\>} | Evaluate expression like *($var+2)/3* [**Syntax 5**]
|
|||
${find-card:\<str\>} | Find a card - see _Find card substitution_ section
|
||||
${find-device:\<str\>} | Find a device - see _Find device substitution_ section
|
||||
@@LibraryVersion | e.g. "1.2.14" [**Syntax 8**]
|
||||
@@SyntaxVersion | e.g. "8" [**Syntax 8**]
|
||||
@@SyntaxVersion | e.g. "0008" (decimal base - no hex) [**Syntax 8**]
|
||||
|
||||
General note: If two dollars '$$' instead one dolar '$' are used for the
|
||||
substitution identification, the error is ignored (e.g. file does not
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue