From: Chris Hanson Date: Sun, 9 Dec 2007 06:12:14 +0000 (+0000) Subject: Be more specific that column tracking works only for ASCII graphic X-Git-Tag: 20090517-FFI~396 X-Git-Url: https://birchwood-abbey.net/git?a=commitdiff_plain;h=76610329494c59d170980e2964c7f8fb1e52188e;p=mit-scheme.git Be more specific that column tracking works only for ASCII graphic characters. --- diff --git a/v7/src/runtime/genio.scm b/v7/src/runtime/genio.scm index feceb6881..9c0ffd125 100644 --- a/v7/src/runtime/genio.scm +++ b/v7/src/runtime/genio.scm @@ -1,6 +1,6 @@ #| -*-Scheme-*- -$Id: genio.scm,v 1.55 2007/12/09 05:45:39 cph Exp $ +$Id: genio.scm,v 1.56 2007/12/09 06:12:14 cph Exp $ Copyright (C) 1986, 1987, 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, @@ -977,7 +977,8 @@ USA. ob (cond ((char=? char #\tab) (fix:+ column (fix:- 8 (fix:remainder column 8)))) - ((char-graphic? char) (fix:+ column 1)) + ((<= #x20 (char->integer char) #x7E) + (fix:+ column 1)) (else #f)))))) #t)))