From 68fce834fb0bc2ee98eedaeaee8a330d7ce37862 Mon Sep 17 00:00:00 2001 From: Aurora Date: Sun, 16 Oct 2016 21:50:39 +0200 Subject: [PATCH] Minor stuff --- source/strings.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/strings.c b/source/strings.c index 5a63155..b20b332 100644 --- a/source/strings.c +++ b/source/strings.c @@ -27,7 +27,7 @@ u32 strlen(const char *string) { char *stringEnd = (char *)string; - while(*stringEnd) stringEnd++; + while(*stringEnd != 0) stringEnd++; return stringEnd - string; }