From f68916e9ef1a63630aa08c5697bd760dff843001 Mon Sep 17 00:00:00 2001 From: Ben Harris Date: Mon, 16 Dec 2024 22:22:01 +0000 Subject: [PATCH] Fix the length of an accidentally variable-length array --- bedstead.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bedstead.c b/bedstead.c index cc4fb64..a92004e 100644 --- a/bedstead.c +++ b/bedstead.c @@ -4485,7 +4485,7 @@ glyph_complement() int i, col = -1, row = 0; int npages = 0; bool newcol = false; - struct glyph const *sorted[nglyphs], *g; + struct glyph const *sorted[NGLYPHS], *g; for (i = 0; i < nglyphs; i++) glyphs_by_name[i] = glyphs + i; -- 2.30.2