ucd-slc-value &c. return chars, not fixnums.
authorTaylor R Campbell <campbell@mumble.net>
Wed, 2 Jan 2019 02:16:28 +0000 (02:16 +0000)
committerChris Hanson <org/chris-hanson/cph>
Sun, 6 Jan 2019 07:29:24 +0000 (23:29 -0800)
src/runtime/char.scm

index cdf0563e1aca2a59ff4851ca7ec53d02953a1a44..5ee828b1505c5f3b795dc589bb20fefce460e1c8 100644 (file)
@@ -161,7 +161,7 @@ USA.
      (lambda (char)
        (if (fix:= 0 (char-bits char))
           (mapper char)
-          (%make-char (mapper (%make-char (char-code char) 0))
+          (%make-char (char-code (mapper (%make-char (char-code char) 0)))
                       (char-bits char)))))
 
    (set! char-downcase (char-mapper ucd-slc-value))