diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-07-10 22:35:35 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-07-10 22:35:35 +0000 |
commit | fcb3f0be7cf755c09970aef69d46c183779dc6f7 (patch) | |
tree | 7ab8ce071ef612193405dd334ff4af66bf98eaa9 /apps/examples/nxtext/nxtext_internal.h | |
parent | bc4b6fcb861a7f143ddcc4aeef828cbab4006b51 (diff) | |
download | px4-nuttx-fcb3f0be7cf755c09970aef69d46c183779dc6f7.tar.gz px4-nuttx-fcb3f0be7cf755c09970aef69d46c183779dc6f7.tar.bz2 px4-nuttx-fcb3f0be7cf755c09970aef69d46c183779dc6f7.zip |
Fix more NXTEXT bugs -- seems to be working now
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3768 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'apps/examples/nxtext/nxtext_internal.h')
-rw-r--r-- | apps/examples/nxtext/nxtext_internal.h | 6 |
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 */ |