summaryrefslogtreecommitdiff
path: root/apps/examples/nx/nx_kbdin.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/examples/nx/nx_kbdin.c')
-rw-r--r--apps/examples/nx/nx_kbdin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/examples/nx/nx_kbdin.c b/apps/examples/nx/nx_kbdin.c
index 66d54b046..b2a40d352 100644
--- a/apps/examples/nx/nx_kbdin.c
+++ b/apps/examples/nx/nx_kbdin.c
@@ -323,7 +323,7 @@ nxeg_getglyph(FAR struct nxeg_state_s *st, uint8_t ch)
{
/* No, it is not cached... Does the code map to a glyph? */
- bm = nxf_getbitmap(ch, NXFONT_DEFAULT);
+ bm = nxf_getbitmap(g_fonthandle, ch);
if (!bm)
{
/* No, there is no glyph for this code. Use space */