ucm: fix parser for sequences and fix wrong strcmp

The sequences are not parsed correctly. First cfg value is the command
and second value is the command argument.

Also, fix strcmp calls in ucm/main.c (reported by
abraham duenas <aduejazz@gmail.com>).

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
Jaroslav Kysela 2010-11-10 16:06:29 +01:00
parent 9b6df1cf64
commit cdc9dd50bf
3 changed files with 17 additions and 6 deletions

View file

@ -1,6 +1,7 @@
SectionVerb {
EnableSequence [
exec "Case1 enable seq"
exec "Case1 enable seq 2"
]
DisableSequence [
exec "Case2 disable seq"