From 2be7d494bcf835f20ffb5650e8914444695d03f2 Mon Sep 17 00:00:00 2001 From: Chris Hanson Date: Fri, 10 Aug 2007 19:01:44 +0000 Subject: [PATCH] Fix thinko in GUARANTEE-8-BIT-CHAR. --- v7/src/runtime/char.scm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/v7/src/runtime/char.scm b/v7/src/runtime/char.scm index 151bc180c..40645edc0 100644 --- a/v7/src/runtime/char.scm +++ b/v7/src/runtime/char.scm @@ -1,6 +1,6 @@ #| -*-Scheme-*- -$Id: char.scm,v 14.32 2007/08/10 18:09:39 cph Exp $ +$Id: char.scm,v 14.33 2007/08/10 19:01:44 cph Exp $ Copyright (C) 1986, 1987, 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, @@ -95,7 +95,8 @@ USA. (define (guarantee-8-bit-char object #!optional caller) caller - (error:not-8-bit-char object)) + (if (not (8-bit-char? object)) + (error:not-8-bit-char object))) (define (char-ascii? char) (guarantee-char char 'CHAR-ASCII?) -- 2.25.1