diff src/print.c @ 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 d18129921259
children 74d21e4a28f9
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);