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:
Stephan Aßmus 2009-09-28 14:19:53 +00:00
parent 8593bcad87
commit 6a662d0602
1 changed files with 1 additions and 1 deletions

View File

@ -372,7 +372,7 @@ TeamDescriptionView::MessageReceived(BMessage* message)
void
TeamDescriptionView::CtrlAltDelPressed(bool keyDown)
{
if (!(keyDown ^ fRebootRunner != NULL))
if (!(keyDown ^ (fRebootRunner != NULL)))
return;
delete fRebootRunner;