summaryrefslogtreecommitdiff
path: root/apps/examples/nxtext/nxtext_internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/examples/nxtext/nxtext_internal.h')
-rw-r--r--apps/examples/nxtext/nxtext_internal.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/examples/nxtext/nxtext_internal.h b/apps/examples/nxtext/nxtext_internal.h
index af0cd0310..3bcbb1aa1 100644
--- a/apps/examples/nxtext/nxtext_internal.h
+++ b/apps/examples/nxtext/nxtext_internal.h
@@ -242,9 +242,9 @@ struct nxtext_state_s
/* These describe all text already added to the display */
- uint16_t maxchars; /* Size of the mb array */
- uint8_t maxglyphs; /* Size of the glyph array */
- uint8_t nchars; /* Number of chars already displayed */
+ uint8_t maxglyphs; /* Size of the glyph[] array */
+ uint16_t maxchars; /* Size of the bm[] array */
+ uint16_t nchars; /* Number of chars in the bm[] array */
FAR struct nxtext_bitmap_s *bm; /* List of characters on the display */
FAR struct nxtext_glyph_s *glyph; /* Cache of rendered fonts in use */