hrev51745 adds 1 changeset to branch 'master'
old head: 79707fefe01235b974856884c798a9a4dfbfd1c4
new head: a31e05bb68356270b1c0d05d684c62a9b29f51c3
overview:
http://cgit.haiku-os.org/haiku/log/?qt=range&q=a31e05bb6835+%5E79707fefe012
----------------------------------------------------------------------------
a31e05bb6835: MediaPlayer: Compare return value of FindMatch against B_ERROR.
Thanks Rene for the review!
[ Augustin Cavalier <waddlesplash@xxxxxxxxx> ]
----------------------------------------------------------------------------
Revision: hrev51745
Commit: a31e05bb68356270b1c0d05d684c62a9b29f51c3
URL: http://cgit.haiku-os.org/haiku/commit/?id=a31e05bb6835
Author: Augustin Cavalier <waddlesplash@xxxxxxxxx>
Date: Wed Jan 10 18:39:37 2018 UTC
----------------------------------------------------------------------------
1 file changed, 1 insertion(+), 1 deletion(-)
src/apps/mediaplayer/MainWin.cpp | 2 +-
----------------------------------------------------------------------------
diff --git a/src/apps/mediaplayer/MainWin.cpp b/src/apps/mediaplayer/MainWin.cpp
index ce5e061e37..ac9270bd0b 100644
--- a/src/apps/mediaplayer/MainWin.cpp
+++ b/src/apps/mediaplayer/MainWin.cpp
@@ -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);