From: Ben Harris Date: Mon, 16 Dec 2024 22:27:24 +0000 (+0000) Subject: Correct the size of the parameter to glyph_footprint() X-Git-Tag: bedstead-3.251~66 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~bjharris/git?a=commitdiff_plain;h=9b82a0f2640c808dbcbdf1383026a86a7fd0a7bf;p=bedstead.git Correct the size of the parameter to glyph_footprint() --- diff --git a/bedstead.c b/bedstead.c index a92004e..6a8b108 100644 --- a/bedstead.c +++ b/bedstead.c @@ -3586,12 +3586,12 @@ dosinglesubs(char const *suffix) } static int -glyph_footprint(char data[XSIZE-1]) +glyph_footprint(char data[YSIZE - 1]) { int i; int footprint = 0; - for (i = 0; i < YSIZE-1; i++) footprint |= data[i]; + for (i = 0; i < YSIZE - 1; i++) footprint |= data[i]; return footprint; }