changeset 16893:5889a6e7c71b

(print): Round size of bool-vector properly.
author Richard M. Stallman <rms@gnu.org>
date Mon, 20 Jan 1997 01:56:52 +0000
parents a8a539285d69
children cd8d6bf6b320
files src/print.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/print.c	Mon Jan 20 01:52:48 1997 +0000
+++ b/src/print.c	Mon Jan 20 01:56:52 1997 +0000
@@ -1136,7 +1136,7 @@
 	  register unsigned char c;
 	  struct gcpro gcpro1;
 	  int size_in_chars
-	    = (XBOOL_VECTOR (obj)->size + BITS_PER_CHAR) / BITS_PER_CHAR;
+	    = (XBOOL_VECTOR (obj)->size + BITS_PER_CHAR - 1) / BITS_PER_CHAR;
 
 	  GCPRO1 (obj);