bug in string-titlecase, string-cursor>=? doesn't take a string arg

This commit is contained in:
Alex Shinn 2017-05-07 17:20:09 +09:00
parent 9cf8a3ddf3
commit 5e4fa52185

View file

@ -18,7 +18,7 @@
(let lp ((n (string-cursor-start str))
(prev-caseless? #t)
(result '()))
(if (string-cursor>=? str n end)
(if (string-cursor>=? n end)
(list->string (reverse result))
(let ((ch (string-cursor-ref str n))
(n2 (string-cursor-next str n)))