aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rwxr-xr-xsrc/splashtool2
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}")"