[prev in list] [next in list] [prev in thread] [next in thread] 

List:       haiku-commits
Subject:    [haiku-commits] r42517 - haiku/trunk/src/apps/mediaplayer/interface
From:       pulkomandy () pulkomandy ! ath ! cx
Date:       2011-07-30 19:51:28
Message-ID: 20110730195128.A6E2E68054 () vmsvn ! haiku-os ! org
[Download RAW message or body]

Author: pulkomandy
Date: 2011-07-30 21:51:28 +0200 (Sat, 30 Jul 2011)
New Revision: 42517
Changeset: https://dev.haiku-os.org/changeset/42517

Modified:
   haiku/trunk/src/apps/mediaplayer/interface/PeakView.cpp
Log:
Fix reverse condition. This would lead to the view getting Pulse messages both from \
it's own MessageRunner and from BWindow. No functional change intended :)


Modified: haiku/trunk/src/apps/mediaplayer/interface/PeakView.cpp
===================================================================
--- haiku/trunk/src/apps/mediaplayer/interface/PeakView.cpp	2011-07-30 18:25:08 UTC \
                (rev 42516)
+++ haiku/trunk/src/apps/mediaplayer/interface/PeakView.cpp	2011-07-30 19:51:28 UTC \
(rev 42517) @@ -40,7 +40,7 @@
 
 PeakView::PeakView(const char* name, bool useGlobalPulse, bool displayLabels)
 	:
-	BView(name, (useGlobalPulse ? 0 : B_PULSE_NEEDED)
+	BView(name, (useGlobalPulse ? B_PULSE_NEEDED : 0)
 		| B_WILL_DRAW | B_FRAME_EVENTS | B_FULL_UPDATE_ON_RESIZE),
 	fUseGlobalPulse(useGlobalPulse),
 	fDisplayLabels(displayLabels),


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic