summaryrefslogtreecommitdiff
path: root/apps/examples/nxhello/nxhello_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/examples/nxhello/nxhello_main.c')
-rw-r--r--apps/examples/nxhello/nxhello_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/examples/nxhello/nxhello_main.c b/apps/examples/nxhello/nxhello_main.c
index e71df98d1..cf8373856 100644
--- a/apps/examples/nxhello/nxhello_main.c
+++ b/apps/examples/nxhello/nxhello_main.c
@@ -256,7 +256,7 @@ int MAIN_NAME(int argc, char *argv[])
/* Get the background window */
- ret = nx_requestbkgd(g_nxhello.hnx, &g_bgcb, NULL);
+ ret = nx_requestbkgd(g_nxhello.hnx, &g_nxhellocb, NULL);
if (ret < 0)
{
message(MAIN_NAME_STRING ": nx_setbgcolor failed: %d\n", errno);