Changeset 6583


Ignore:
Timestamp:
May 20, 2007, 9:07:29 AM (18 years ago)
Author:
Gary Byers
Message:

Pin char-code to 255 when looking for attributes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/ide-1.0/ccl/hemlock/src/hemlock-ext.lisp

    r6 r6583  
    635635      ((= index end) nil)
    636636    (declare (fixnum index))
    637     (if (/= (logand (aref table (char-code (elt string index))) mask) 0)
     637    (if (/= (logand (aref table (min 255 (char-code (schar string index)))) mask) 0)
    638638        (return index))))
    639639
     
    647647      ((< index start) nil)
    648648    (declare (fixnum index))
    649     (if (/= (logand (aref table (char-code (elt string index))) mask) 0)
     649    (if (/= (logand (aref table (min 255 (char-code (aref string index)))) mask) 0)
    650650        (return index))))
    651651
Note: See TracChangeset for help on using the changeset viewer.