diff options
Diffstat (limited to 'nuttx/graphics/nxmu/nx_openwindow.c')
-rw-r--r-- | nuttx/graphics/nxmu/nx_openwindow.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/graphics/nxmu/nx_openwindow.c b/nuttx/graphics/nxmu/nx_openwindow.c index 8878ffceb..a05251546 100644 --- a/nuttx/graphics/nxmu/nx_openwindow.c +++ b/nuttx/graphics/nxmu/nx_openwindow.c @@ -95,7 +95,7 @@ NXWINDOW nx_openwindow(NXHANDLE handle, FAR const struct nx_callback_s *cb, int ret; #ifdef CONFIG_DEBUG - if (!conn || !cb) + if (!handle || !cb) { errno = EINVAL; return NULL; |