aboutsummaryrefslogtreecommitdiff
path: root/src/utils.c
diff options
context:
space:
mode:
authorHampus <hampus@hampusmat.com>2022-01-05 21:45:49 +0100
committerHampus <hampus@hampusmat.com>2022-01-05 21:45:49 +0100
commitdc78467ebc7df9bfad81ed6e30f74139440ab159 (patch)
treeccabc47e358bfe09fb71aca6352f499713e24479 /src/utils.c
parent6b1f6cf3b7685eed5fb9e24b18c479d842c4043c (diff)
fix: add better number handling
Diffstat (limited to 'src/utils.c')
-rw-r--r--src/utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils.c b/src/utils.c
index 69ce55d..da48ef6 100644
--- a/src/utils.c
+++ b/src/utils.c
@@ -33,7 +33,7 @@ unsigned int str_to_uint(char *str, char **err)
{
if (*str == '-')
{
- *err = "Not greater than 0";
+ *err = "Less than 0";
return 0;
}