diff src/util.c @ 14:2d7c810a1ac2 default tip

*: misc. cleanup
author Paper <paper@paper.us.eu.org>
date Fri, 03 May 2024 22:40:28 -0400
parents d6f8f73a0c50
children
line wrap: on
line diff
--- a/src/util.c	Wed Apr 03 20:48:51 2024 -0400
+++ b/src/util.c	Fri May 03 22:40:28 2024 -0400
@@ -8,10 +8,9 @@
 size_t EDL_internal_strnlen(const char* s, size_t maxlen) {
 	size_t len;
 
-	for (len = 0; len < maxlen; len++, s++) {
+	for (len = 0; len < maxlen; len++, s++)
 		if (!*s)
 			break;
-	}
 
 	return len;
 }