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
This commit is contained in:
Adrien Destugues 2011-07-30 19:51:28 +00:00
parent 0e3075fb4d
commit a4506dd3e7

View File

@ -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),