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:
parent
8593bcad87
commit
6a662d0602
|
@ -372,7 +372,7 @@ TeamDescriptionView::MessageReceived(BMessage* message)
|
|||
void
|
||||
TeamDescriptionView::CtrlAltDelPressed(bool keyDown)
|
||||
{
|
||||
if (!(keyDown ^ fRebootRunner != NULL))
|
||||
if (!(keyDown ^ (fRebootRunner != NULL)))
|
||||
return;
|
||||
|
||||
delete fRebootRunner;
|
||||
|
|
Loading…
Reference in New Issue