From f3c8609641c16a14d7dadf21d9a9e1bc757591a9 Mon Sep 17 00:00:00 2001
From: rtoy <rtoy>
Date: Mon, 10 Aug 2009 21:22:09 +0000
Subject: [PATCH] Oops.  utf16-string-p was returning NIL if the codepoint was
 assigned.  It should return NIL if the codepoint is NOT assigned.

---
 code/string.lisp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/code/string.lisp b/code/string.lisp
index d37ffcfab..b9a106e54 100644
--- a/code/string.lisp
+++ b/code/string.lisp
@@ -5,7 +5,7 @@
 ;;; Carnegie Mellon University, and has been placed in the public domain.
 ;;;
 (ext:file-comment
-  "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/string.lisp,v 1.16 2009/07/13 14:01:48 rtoy Exp $")
+  "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/string.lisp,v 1.17 2009/08/10 21:22:09 rtoy Exp $")
 ;;;
 ;;; **********************************************************************
 ;;;
@@ -129,7 +129,7 @@
       ;; unassigned codepoint is also considered invalid.
       (when (or (eq wide -1)
 		(surrogatep codepoint)
-		(lisp::unicode-assigned-codepoint-p codepoint))
+		(not (unicode-assigned-codepoint-p codepoint)))
 	(return-from utf16-string-p (values nil index)))
       (when wide (incf index)))))
 
-- 
GitLab