From 1cf57a4097a9824b4d4ccd93d91d4c8973724a77 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Tue, 22 Jul 2014 07:36:08 -0600 Subject: [PATCH] NxWidgets::CTaskbar: Fix type of return value fromopenRawWindow() method. From Petteri Aimonen --- nxwm/src/ctaskbar.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nxwm/src/ctaskbar.cxx b/nxwm/src/ctaskbar.cxx index 3a5e44aec..a5c4fc711 100644 --- a/nxwm/src/ctaskbar.cxx +++ b/nxwm/src/ctaskbar.cxx @@ -818,7 +818,7 @@ NXWidgets::CNxWindow *CTaskbar::openRawWindow(void) if (!window) { delete control; - return false; + return NULL; } // Open (and initialize) the window @@ -828,7 +828,7 @@ NXWidgets::CNxWindow *CTaskbar::openRawWindow(void) { delete window; window = (NXWidgets::CNxWindow *)0; - return false; + return NULL; } return window;