From a4506dd3e779029125c8ceb00642f7e8a2fcb4c3 Mon Sep 17 00:00:00 2001 From: Adrien Destugues Date: Sat, 30 Jul 2011 19:51:28 +0000 Subject: [PATCH] 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 :) git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42517 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/apps/mediaplayer/interface/PeakView.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/apps/mediaplayer/interface/PeakView.cpp b/src/apps/mediaplayer/interface/PeakView.cpp index 31b4e94cde..6bb6bb96b9 100644 --- a/src/apps/mediaplayer/interface/PeakView.cpp +++ b/src/apps/mediaplayer/interface/PeakView.cpp @@ -40,7 +40,7 @@ enum { 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),