From 9500ed2bcc8c579bd56f4e4cdb27376ebc727046 Mon Sep 17 00:00:00 2001 From: inmarket Date: Sat, 11 Mar 2017 14:23:27 +1000 Subject: Fix a bug that can cause large fonts to not be read correctly. --- src/gdisp/mcufont/mf_bwfont.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gdisp/mcufont/mf_bwfont.h') diff --git a/src/gdisp/mcufont/mf_bwfont.h b/src/gdisp/mcufont/mf_bwfont.h index 761352df..f7fda527 100644 --- a/src/gdisp/mcufont/mf_bwfont.h +++ b/src/gdisp/mcufont/mf_bwfont.h @@ -63,7 +63,7 @@ struct mf_bwfont_s const uint8_t version; /* Number of character ranges. */ - const uint8_t char_range_count; + const uint16_t char_range_count; /* Array of the character ranges */ const struct mf_bwfont_char_range_s *char_ranges; -- cgit v1.2.3