OSDN Git Service
(root)
/
android-x86
/
external-alsa-lib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7a345a5
)
ucm: cosmetic fix in get_card_long_name()
author
Jaroslav Kysela
<perex@perex.cz>
Fri, 25 Oct 2019 11:42:41 +0000
(13:42 +0200)
committer
Jaroslav Kysela
<perex@perex.cz>
Fri, 25 Oct 2019 11:42:41 +0000
(13:42 +0200)
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
src/ucm/parser.c
patch
|
blob
|
history
diff --git
a/src/ucm/parser.c
b/src/ucm/parser.c
index
61d5d7f
..
896c96a
100644
(file)
--- a/
src/ucm/parser.c
+++ b/
src/ucm/parser.c
@@
-1388,8
+1388,8
@@
static int get_card_long_name(snd_use_case_mgr_t *mgr)
*/
_name = snd_ctl_card_info_get_name(info);
_long_name = snd_ctl_card_info_get_longname(info);
- if (!strcmp(card_name, _name)
-
||
!strcmp(card_name, _long_name)) {
+ if (!strcmp(card_name, _name)
||
+ !strcmp(card_name, _long_name)) {
strcpy(mgr->card_long_name, _long_name);
snd_ctl_close(handle);
return 0;