diff options
Diffstat (limited to 'src/runtime/c/gu/string.c')
| -rw-r--r-- | src/runtime/c/gu/string.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/c/gu/string.c b/src/runtime/c/gu/string.c index 995812fbf..8c9afd6e7 100644 --- a/src/runtime/c/gu/string.c +++ b/src/runtime/c/gu/string.c @@ -179,7 +179,7 @@ gu_string_is_prefix(GuString s1, GuString s2) if (len1 > len2) return false; - for (size_t len = len1; len--; len > 0) { + for (size_t len = len1; len > 0; len--) { if (*s1 != *s2) return false; |
