Skip to content
Commit 1b50bb4d authored by Pavel Machek's avatar Pavel Machek Committed by Jacek Anaszewski
Browse files

Fix pattern handling optimalization



Check for zero duration before skipping step. This fixes pattern

    echo "0 1000 10 2550 0 1000" > pattern

which should do [  .-xXx-.] but does [   Xx-.]

Signed-off-by: default avatarPavel Machek <pavel@ucw.cz>
Suggested-by: default avatarJacek Anaszewski <jacek.anaszewski@gmail.com>
Signed-off-by: default avatarJacek Anaszewski <jacek.anaszewski@gmail.com>
parent 8dbac65f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment