summaryrefslogtreecommitdiff
path: root/lib/std/cmp.myr
diff options
context:
space:
mode:
Diffstat (limited to 'lib/std/cmp.myr')
-rw-r--r--lib/std/cmp.myr4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/std/cmp.myr b/lib/std/cmp.myr
index 15c4994..c022b2e 100644
--- a/lib/std/cmp.myr
+++ b/lib/std/cmp.myr
@@ -60,8 +60,8 @@ const strcasecmp = {a, b
var ca, cb
while a.len > 0 && b.len > 0
- (ca, a) = std.strstep(a)
- (cb, b) = std.strstep(b)
+ (ca, a) = std.charstep(a)
+ (cb, b) = std.charstep(b)
ca = toupper(ca)
cb = toupper(cb)
if ca < cb