MediaPlayer: Compare return value of FindMatch against B_ERROR.

Thanks Rene for the review!
This commit is contained in:
Augustin Cavalier
2018-01-10 13:49:32 -05:00
parent 79707fefe0
commit a31e05bb68
+1 -1
View File
@@ -1318,7 +1318,7 @@ MainWin::ResolveSpecifier(BMessage* message, int32 index, BMessage* specifier,
{
BPropertyInfo propertyInfo(sPropertyInfo);
if (propertyInfo.FindMatch(message, index, specifier, what, property)
< propertyInfo.CountProperties())
!= B_ERROR)
return this;
return BWindow::ResolveSpecifier(message, index, specifier, what, property);