summaryrefslogtreecommitdiff
path: root/apps/examples/nxtext/nxtext_popup.c
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-07-19 20:08:28 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-07-19 20:08:28 +0000
commite22652b8670c85c11bed70615d97273d455d58a9 (patch)
treeafb799c4411fe56a1af05c4e25d5f44453691cbe /apps/examples/nxtext/nxtext_popup.c
parent40e9e372738c38180562ab1ff3b1f91d42c14cdd (diff)
downloadnuttx-e22652b8670c85c11bed70615d97273d455d58a9.tar.gz
nuttx-e22652b8670c85c11bed70615d97273d455d58a9.tar.bz2
nuttx-e22652b8670c85c11bed70615d97273d455d58a9.zip
Setup environment to support multiple fonts
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3799 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'apps/examples/nxtext/nxtext_popup.c')
-rw-r--r--apps/examples/nxtext/nxtext_popup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/examples/nxtext/nxtext_popup.c b/apps/examples/nxtext/nxtext_popup.c
index 33170019f..bf9fbae19 100644
--- a/apps/examples/nxtext/nxtext_popup.c
+++ b/apps/examples/nxtext/nxtext_popup.c
@@ -304,7 +304,7 @@ static inline void nxpu_initstate(void)
*/
#ifdef CONFIG_NX_KBD
- fontset = nxf_getfontset();
+ fontset = nxf_getfontset(NXFONT_DEFAULT);
g_pustate.fheight = fontset->mxheight;
g_pustate.fwidth = fontset->mxwidth;
g_pustate.spwidth = fontset->spwidth;