Fixed a GCC 4 warning, and I think it pointed out a mistake indeed, probably
rebooting via pressing Ctr-Alt-Del twice did not work. (But I didn't test) git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33335 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -372,7 +372,7 @@ TeamDescriptionView::MessageReceived(BMessage* message)
|
|||||||
void
|
void
|
||||||
TeamDescriptionView::CtrlAltDelPressed(bool keyDown)
|
TeamDescriptionView::CtrlAltDelPressed(bool keyDown)
|
||||||
{
|
{
|
||||||
if (!(keyDown ^ fRebootRunner != NULL))
|
if (!(keyDown ^ (fRebootRunner != NULL)))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
delete fRebootRunner;
|
delete fRebootRunner;
|
||||||
|
|||||||
Reference in New Issue
Block a user