summaryrefslogtreecommitdiff
path: root/typr.sh
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2023-12-27 19:33:00 +0000
committerdavidovski <david@davidovski.xyz>2023-12-27 19:33:00 +0000
commit02ebb5ec768d25feb6ddc4a2a9beb750ffa2b214 (patch)
tree6e61add2b8927febe23bd1c050a371f463b94331 /typr.sh
parent46dc0722229aa8468a01642151300df007eea271 (diff)
fix invalid printf format
Diffstat (limited to 'typr.sh')
-rwxr-xr-xtypr.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/typr.sh b/typr.sh
index cb404aa..aaa802b 100755
--- a/typr.sh
+++ b/typr.sh
@@ -141,7 +141,7 @@ typr_start_timer () {
}
typr_calculate_acc () {
- [ "$total_kp" != "0" ] && printf "%s%%" "$(((100*correct_kp)/total_kp))" || printf "0%"
+ [ "$total_kp" != "0" ] && printf "%s%%" "$(((100*correct_kp)/total_kp))" || printf "%s" "0%"
}
typr_update_acc () {