Commit 1bad7c59 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(print): Round size of bool-vector properly.

parent 75b08edb
......@@ -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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment