summaryrefslogtreecommitdiff
path: root/src/print.c
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1997-01-20 01:56:52 +0000
committerRichard M. Stallman <rms@gnu.org>1997-01-20 01:56:52 +0000
commit0ecab6116ad9f2598e1938710edac4793910f07e (patch)
tree1db931fab5d87d4f3eaa3eecde0cef18f065b889 /src/print.c
parentd5382b012e33b47515b5f1b5690c8636edac1a64 (diff)
downloademacs-0ecab6116ad9f2598e1938710edac4793910f07e.tar.gz
(print): Round size of bool-vector properly.
Diffstat (limited to 'src/print.c')
-rw-r--r--src/print.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/print.c b/src/print.c
index db0b4cba965..d26f7fd24dc 100644
--- a/src/print.c
+++ b/src/print.c
@@ -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);