# HG changeset patch # User Ken Raeburn # Date 1026834534 0 # Node ID 46ff766afaafcf15b5082c94175a51000302fd23 # Parent b12a3266243303aa39ae5a9b4c995905d2c72f77 * buffer.c (Fother_buffer): Use SREF when retrieving a byte from a string. diff -r b12a32662433 -r 46ff766afaaf src/buffer.c --- a/src/buffer.c Tue Jul 16 15:48:47 2002 +0000 +++ b/src/buffer.c Tue Jul 16 15:48:54 2002 +0000 @@ -1163,7 +1163,7 @@ buf = Fcdr (Fcar (tail)); if (EQ (buf, buffer)) continue; - if (SDATA (XBUFFER (buf)->name)[0] == ' ') + if (SREF (XBUFFER (buf)->name, 0) == ' ') continue; /* If the selected frame has a buffer_predicate, disregard buffers that don't fit the predicate. */