NxWidgets::CTaskbar: Fix type of return value fromopenRawWindow() method. From Petteri Aimonen
This commit is contained in:
parent
23c30fd923
commit
1cf57a4097
@ -818,7 +818,7 @@ NXWidgets::CNxWindow *CTaskbar::openRawWindow(void)
|
|||||||
if (!window)
|
if (!window)
|
||||||
{
|
{
|
||||||
delete control;
|
delete control;
|
||||||
return false;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Open (and initialize) the window
|
// Open (and initialize) the window
|
||||||
@ -828,7 +828,7 @@ NXWidgets::CNxWindow *CTaskbar::openRawWindow(void)
|
|||||||
{
|
{
|
||||||
delete window;
|
delete window;
|
||||||
window = (NXWidgets::CNxWindow *)0;
|
window = (NXWidgets::CNxWindow *)0;
|
||||||
return false;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
return window;
|
return window;
|
||||||
|
Loading…
Reference in New Issue
Block a user