diff options
| author | Mattias Andrée <maandree@operamail.com> | 2014-11-01 16:17:34 +0100 |
|---|---|---|
| committer | Mattias Andrée <maandree@operamail.com> | 2014-11-01 16:17:34 +0100 |
| commit | 657a47336b198c4e17115f07b4b7f0fa94296d82 (patch) | |
| tree | 843b978d0431fe2022ca3f6535904f1c9a1b68bd /src | |
| parent | m bug (diff) | |
| download | splashtool-657a47336b198c4e17115f07b4b7f0fa94296d82.tar.gz splashtool-657a47336b198c4e17115f07b4b7f0fa94296d82.tar.bz2 splashtool-657a47336b198c4e17115f07b4b7f0fa94296d82.tar.xz | |
m bug
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'src')
| -rwxr-xr-x | src/splashtool | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/splashtool b/src/splashtool index f3d5ab0..2fc1c10 100755 --- a/src/splashtool +++ b/src/splashtool @@ -188,7 +188,7 @@ segs () mod=0 while read -r seg; do current=$(echo "${seg}" | cut -d ' ' -f 1) - index=$(( ${current} / 10 )) + index=$(( ${current} / 10 - 1 )) seg="$(echo "${seg}" | sed -e 's/^[^ ]* //')" if [ ${last} = ${current} ]; then text="$(echo "${text}" ; echo "${seg}")" |
