summary refs log tree commit diff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--bin/fbclock.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/fbclock.c b/bin/fbclock.c
index 3f7b5c71..0d90ff43 100644
--- a/bin/fbclock.c
+++ b/bin/fbclock.c
@@ -65,8 +65,8 @@ int main() {
         errx(EX_DATAERR, "%s: weird header size %d", fontPath, header.headerSize);
     }
 
-    uint8_t glyphs[header.glyphCount][header.glyphSize];
-    count = gzfread(glyphs, header.glyphSize, header.glyphCount, font);
+    uint8_t glyphs[128][header.glyphSize];
+    count = gzfread(glyphs, header.glyphSize, 128, font);
     if (!count) errx(EX_IOERR, "%s: %s", fontPath, gzerror(font, NULL));
 
     assert(Z_OK == gzclose(font));
1-12 00:11:05 -0500'>2018-11-12Add inflateBackInit.3June McEnroe 2018-11-11Add inflateGetHeader.3June McEnroe 2018-11-11Add inflateMark.3June McEnroe 2018-11-11Add inflatePrime.3June McEnroe 2018-11-11Add inflateReset.3June McEnroe 2018-11-11Add inflateCopy.3June McEnroe 2018-11-11Add inflateSync.3June McEnroe 2018-11-11Add inflateGetDictionary.3June McEnroe 2018-11-11Add inflateSetDictionary.3June McEnroe 2018-11-11Add inflateInit2.3June McEnroe