summaryrefslogtreecommitdiff
path: root/apps/examples/nxtext/nxtext_putc.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/examples/nxtext/nxtext_putc.c')
-rw-r--r--apps/examples/nxtext/nxtext_putc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/examples/nxtext/nxtext_putc.c b/apps/examples/nxtext/nxtext_putc.c
index 87da2ad6e..b4e31bb73 100644
--- a/apps/examples/nxtext/nxtext_putc.c
+++ b/apps/examples/nxtext/nxtext_putc.c
@@ -332,7 +332,7 @@ static int nxtext_fontsize(uint8_t ch, FAR struct nxgl_size_s *size)
/* No, it is not cached... Does the code map to a font? */
- fbm = nxf_getbitmap(ch, NXFONT_DEFAULT);
+ fbm = nxf_getbitmap(g_fonthandle, ch);
if (fbm)
{
/* Yes.. return the font size */
@@ -362,7 +362,7 @@ nxtext_getglyph(FAR struct nxtext_state_s *st, uint8_t ch)
{
/* No, it is not cached... Does the code map to a font? */
- fbm = nxf_getbitmap(ch, NXFONT_DEFAULT);
+ fbm = nxf_getbitmap(g_fonthandle, ch);
if (fbm)
{
/* Yes.. render the glyph */