summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/dispnew.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dispnew.c b/src/dispnew.c
index 37749001d3f..c9a94cf37ed 100644
--- a/src/dispnew.c
+++ b/src/dispnew.c
@@ -299,7 +299,7 @@ make_frame_glyphs (frame, empty)
bzero (new->total_contents, total_glyphs);
new->total_charstarts = (int *) xmalloc (total_charstarts);
- bzero (new->total_charstarts, total_glyphs);
+ bzero (new->total_charstarts, total_charstarts);
}
else
{