summaryrefslogtreecommitdiff
path: root/apps/examples/nxtext/nxtext_main.c
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-05-13 15:14:53 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-05-13 15:14:53 +0000
commit1aa4a0750b0705fefbb1cd2819dbc30684d25353 (patch)
tree88fccb94315649735f894db6185383b3d6756f30 /apps/examples/nxtext/nxtext_main.c
parent193f6fa1764c7d1d88efced8af88c785ebff891f (diff)
downloadnuttx-1aa4a0750b0705fefbb1cd2819dbc30684d25353.tar.gz
nuttx-1aa4a0750b0705fefbb1cd2819dbc30684d25353.tar.bz2
nuttx-1aa4a0750b0705fefbb1cd2819dbc30684d25353.zip
Add Calypso-related fixes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4730 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'apps/examples/nxtext/nxtext_main.c')
-rw-r--r--apps/examples/nxtext/nxtext_main.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/examples/nxtext/nxtext_main.c b/apps/examples/nxtext/nxtext_main.c
index b7e2a3356..437b03e5a 100644
--- a/apps/examples/nxtext/nxtext_main.c
+++ b/apps/examples/nxtext/nxtext_main.c
@@ -1,8 +1,8 @@
/****************************************************************************
* examples/nxtext/nxtext_main.c
*
- * Copyright (C) 2011 Gregory Nutt. All rights reserved.
- * Author: Gregory Nutt <spudmonkey@racsa.co.cr>
+ * Copyright (C) 2011-2012 Gregory Nutt. All rights reserved.
+ * Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
@@ -409,7 +409,7 @@ int MAIN_NAME(int argc, char **argv)
/* Get the background window */
bgstate = nxbg_getstate();
- ret = nx_requestbkgd(g_hnx, &g_bgcb, bgstate);
+ ret = nx_requestbkgd(g_hnx, &g_nxtextcb, bgstate);
if (ret < 0)
{
message(MAIN_NAME_STRING ": nx_setbgcolor failed: %d\n", errno);