]> git.eshelyaron.com Git - emacs.git/commitdiff
(print): Round size of bool-vector properly.
authorRichard M. Stallman <rms@gnu.org>
Mon, 20 Jan 1997 01:56:52 +0000 (01:56 +0000)
committerRichard M. Stallman <rms@gnu.org>
Mon, 20 Jan 1997 01:56:52 +0000 (01:56 +0000)
src/print.c

index db0b4cba9651f7842a7ecf7400d31c8cecb8b5d1..d26f7fd24dcbf7730920715cfb67e4240588b456 100644 (file)
@@ -1136,7 +1136,7 @@ print (obj, printcharfun, escapeflag)
          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);