aboutsummaryrefslogtreecommitdiffstats
path: root/src/cli
diff options
context:
space:
mode:
Diffstat (limited to 'src/cli')
-rw-r--r--src/cli/speed.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cli/speed.cpp b/src/cli/speed.cpp
index d5a23f08c..090b0abb1 100644
--- a/src/cli/speed.cpp
+++ b/src/cli/speed.cpp
@@ -1031,7 +1031,7 @@ class Speed final : public Command
if(iv.size() > 0)
{
- iv[0] += 1;
+ iv[iv.size()-1] += 1;
}
}
}