chiark / gitweb /
Use the global nglyphs variable in glyph_complement()
authorBen Harris <bjh21@bjh21.me.uk>
Thu, 11 Jul 2024 22:40:31 +0000 (23:40 +0100)
committerBen Harris <bjh21@bjh21.me.uk>
Fri, 16 Aug 2024 23:11:11 +0000 (00:11 +0100)
bedstead.c

index ce49b4165c4fedea2f445f3f3b184cc5e79d6dab..9888a7e4bf3a69ec93c71172d4849326b6160323 100644 (file)
@@ -3628,7 +3628,6 @@ glyph_complement()
        int const nrow = 16, ncol=12;
        long unicol = 32/nrow;
        int i, col = -1, row = 0;
-       int const nglyphs = sizeof(glyphs) / sizeof(glyphs[0]);
        int npages = 0;
        bool newcol = false;
        struct glyph const *sorted[nglyphs], *g;