]> git.eshelyaron.com Git - emacs.git/commitdiff
* alloc.c (BLOCK BYTES): Fix typo by changing "ablock" to "ablocks".
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 18 Apr 2011 04:08:35 +0000 (21:08 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 18 Apr 2011 04:08:35 +0000 (21:08 -0700)
This doesn't fix a bug but makes the code clearer.

src/ChangeLog
src/alloc.c

index 22e85967b822912413c30d68556955ab3df65ed3..51e379c12801b8156a83d33f090cb32210fb9cb0 100644 (file)
@@ -1,3 +1,8 @@
+2011-04-18  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * 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  <cyd@stupidchicken.com>
 
        * xdisp.c (get_next_display_element): Remove unnecessary ifdefs.
index 412527b41a0a0910e361406a32407b6892b26ba2..ca4abba9f8d78abfb68399ebb00c85972c4093ed 100644 (file)
@@ -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.  */