[haiku-commits] Re: haiku: hrev51742 - src/apps/mediaplayer

  • From: Rene Gollent <anevilyak@xxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Wed, 10 Jan 2018 13:23:26 -0500

On Wed, Jan 10, 2018 at 1:21 PM,  <waddlesplash@xxxxxxxxx> wrote:

+       if (propertyInfo.FindMatch(message, index, specifier, what, property)
+               < propertyInfo.CountProperties())
+               return this;


This isn't quite correct. FindMatch() returns B_ERROR if it doesn't
find a match, so the condition will always evaluate to true.

Regards,

Rene

Other related posts: