Author: axeld Date: 2010-04-21 16:39:29 +0200 (Wed, 21 Apr 2010) New Revision: 36396 Changeset: http://dev.haiku-os.org/changeset/36396/haiku Modified: haiku/trunk/src/apps/mediaplayer/MainWin.cpp Log: * Fixed regression I introduced in r36391. Thanks for proof-reading, Stippi! Modified: haiku/trunk/src/apps/mediaplayer/MainWin.cpp =================================================================== --- haiku/trunk/src/apps/mediaplayer/MainWin.cpp 2010-04-21 14:07:19 UTC (rev 36395) +++ haiku/trunk/src/apps/mediaplayer/MainWin.cpp 2010-04-21 14:39:29 UTC (rev 36396) @@ -599,7 +599,7 @@ fPlaylist->CurrentItemIndex() + 1); if (!hadNext) { if ((fHasVideo && fCloseWhenDonePlayingMovie) - || (fHasAudio && fCloseWhenDonePlayingSound)) + || (!fHasVideo && fCloseWhenDonePlayingSound)) PostMessage(B_QUIT_REQUESTED); } break;