summaryrefslogtreecommitdiff
path: root/nuttx/graphics/nxsu/nx_releasebkgd.c
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/graphics/nxsu/nx_releasebkgd.c')
-rw-r--r--nuttx/graphics/nxsu/nx_releasebkgd.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/nuttx/graphics/nxsu/nx_releasebkgd.c b/nuttx/graphics/nxsu/nx_releasebkgd.c
index d73cd1e50..7c4b4e1cf 100644
--- a/nuttx/graphics/nxsu/nx_releasebkgd.c
+++ b/nuttx/graphics/nxsu/nx_releasebkgd.c
@@ -100,7 +100,8 @@ int nx_releasebkgd(NXWINDOW hwnd)
/* Restore the NX background window callbacks */
- be->bkgd.cb = &g_bkgdcb;
+ be->bkgd.cb = &g_bkgdcb;
+ be->bkgd.arg = NULL;
/* Redraw the background window */