Fix precedence error.
authorDavid Robillard <d@drobilla.net>
Sat, 20 Sep 2008 19:02:58 +0000 (19:02 +0000)
committerDavid Robillard <d@drobilla.net>
Sat, 20 Sep 2008 19:02:58 +0000 (19:02 +0000)
git-svn-id: svn://localhost/ardour2/branches/3.0@3777 d708f5d6-7413-0410-9779-e7cbd77b26cf

libs/surfaces/mackie/mackie_control_protocol_poll.cc

index fa7134fa952e26975c5bb17225f299920318d8c2..cf72c35678f43175c445050fe0aad68913aca31d 100644 (file)
@@ -105,7 +105,7 @@ void MackieControlProtocol::read_ports()
        for ( int p = 0; p < nfds; ++p )
        {
                // this will cause handle_midi_any in the MackiePort to be triggered
-               if ( pfd[p].revents & POLLIN > 0 )
+               if ( (pfd[p].revents & POLLIN) > 0 )
                {
                        // avoid deadlocking?
                        // doesn't seem to make a difference