From: Paul Eggert Date: Mon, 18 Apr 2011 04:08:35 +0000 (-0700) Subject: * alloc.c (BLOCK BYTES): Fix typo by changing "ablock" to "ablocks". X-Git-Tag: emacs-pretest-24.0.90~104^2~275^2~261 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=0b432f213c529745b3a8315db6356199fde2ec25;p=emacs.git * alloc.c (BLOCK BYTES): Fix typo by changing "ablock" to "ablocks". This doesn't fix a bug but makes the code clearer. --- diff --git a/src/ChangeLog b/src/ChangeLog index 22e85967b82..51e379c1280 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2011-04-18 Paul Eggert + + * alloc.c (BLOCK BYTES): Fix typo by changing "ablock" to "ablocks". + This doesn't fix a bug but makes the code clearer. + 2011-04-17 Chong Yidong * xdisp.c (get_next_display_element): Remove unnecessary ifdefs. diff --git a/src/alloc.c b/src/alloc.c index 412527b41a0..ca4abba9f8d 100644 --- a/src/alloc.c +++ b/src/alloc.c @@ -835,7 +835,7 @@ lisp_free (POINTER_TYPE *block) nothing else. */ #define BLOCK_PADDING 0 #define BLOCK_BYTES \ - (BLOCK_ALIGN - sizeof (struct ablock *) - BLOCK_PADDING) + (BLOCK_ALIGN - sizeof (struct ablocks *) - BLOCK_PADDING) /* Internal data structures and constants. */