diff options
Diffstat (limited to 'apps/examples/nxhello')
-rw-r--r-- | apps/examples/nxhello/nxhello.h | 2 | ||||
-rw-r--r-- | apps/examples/nxhello/nxhello_bkgd.c | 2 | ||||
-rw-r--r-- | apps/examples/nxhello/nxhello_main.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/apps/examples/nxhello/nxhello.h b/apps/examples/nxhello/nxhello.h index 169285856..b4bff6c43 100644 --- a/apps/examples/nxhello/nxhello.h +++ b/apps/examples/nxhello/nxhello.h @@ -179,7 +179,7 @@ extern struct nxhello_data_s g_nxhello; /* NX callback vtables */ -extern const struct nx_callback_s g_bgcb; +extern const struct nx_callback_s g_nxhellocb; /**************************************************************************** * Public Function Prototypes diff --git a/apps/examples/nxhello/nxhello_bkgd.c b/apps/examples/nxhello/nxhello_bkgd.c index 93b7798e1..5c3ba68ae 100644 --- a/apps/examples/nxhello/nxhello_bkgd.c +++ b/apps/examples/nxhello/nxhello_bkgd.c @@ -116,7 +116,7 @@ static const char g_hello[] = "Hello, World!"; /* Background window call table */ -const struct nx_callback_s g_bgcb = +const struct nx_callback_s g_nxhellocb = { nxhello_redraw, /* redraw */ nxhello_position /* position */ 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); |