diff options
Diffstat (limited to 'apps/examples/nximage')
-rw-r--r-- | apps/examples/nximage/nximage.h | 2 | ||||
-rw-r--r-- | apps/examples/nximage/nximage_bkgd.c | 2 | ||||
-rw-r--r-- | apps/examples/nximage/nximage_main.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/apps/examples/nximage/nximage.h b/apps/examples/nximage/nximage.h index 117eff671..a614ddc65 100644 --- a/apps/examples/nximage/nximage.h +++ b/apps/examples/nximage/nximage.h @@ -196,7 +196,7 @@ extern struct nximage_data_s g_nximage; /* NX callback vtables */ -extern const struct nx_callback_s g_bgcb; +extern const struct nx_callback_s g_nximagecb; /**************************************************************************** * Public Function Prototypes diff --git a/apps/examples/nximage/nximage_bkgd.c b/apps/examples/nximage/nximage_bkgd.c index e724b3a31..9199b573d 100644 --- a/apps/examples/nximage/nximage_bkgd.c +++ b/apps/examples/nximage/nximage_bkgd.c @@ -153,7 +153,7 @@ static struct nximage_run_t g_runs[NINPUT_ROWS]; /* Background window call table */ -const struct nx_callback_s g_bgcb = +const struct nx_callback_s g_nximagecb = { nximage_redraw, /* redraw */ nximage_position /* position */ diff --git a/apps/examples/nximage/nximage_main.c b/apps/examples/nximage/nximage_main.c index 3ddfb1c02..861cf0e61 100644 --- a/apps/examples/nximage/nximage_main.c +++ b/apps/examples/nximage/nximage_main.c @@ -253,7 +253,7 @@ int MAIN_NAME(int argc, char *argv[]) /* Get the background window */ - ret = nx_requestbkgd(g_nximage.hnx, &g_bgcb, NULL); + ret = nx_requestbkgd(g_nximage.hnx, &g_nximagecb, NULL); if (ret < 0) { message(MAIN_NAME_STRING ": nx_setbgcolor failed: %d\n", errno); |