From 2409f4caa6fc96394e4fb145471a49007a710b5c Mon Sep 17 00:00:00 2001 From: Rene Gollent Date: Wed, 21 Jan 2009 01:22:30 +0000 Subject: [PATCH] Fix a few style violations from my previous commit. (thanks Axel!) git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28974 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/apps/cdplayer/CDPlayer.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/apps/cdplayer/CDPlayer.cpp b/src/apps/cdplayer/CDPlayer.cpp index 8ca4656c18..facfcbe109 100644 --- a/src/apps/cdplayer/CDPlayer.cpp +++ b/src/apps/cdplayer/CDPlayer.cpp @@ -106,7 +106,7 @@ CDPlayer::~CDPlayer() bool CDPlayer::InitCheck() { - return (fCDDrive.CountDrives() > 0); + return fCDDrive.CountDrives() > 0; } @@ -649,8 +649,7 @@ CDPlayerApplication::CDPlayerApplication() window->ResizeTo(view->Bounds().Width(), view->Bounds().Height()); window->AddChild(view); window->Show(); - } - else + } else PostMessage(B_QUIT_REQUESTED); }