bzr branch
/loggerhead/users/piem/portmidi
| Line | Revision | Contents |
| 1 | 22 | --- a/pm_test/mm.c 2009-09-16 18:54:04.000000000 +0200 |
| 2 | +++ b/pm_test/mm.c 2009-10-30 13:25:25.000000000 +0100 |
|
| 3 | @@ -133,7 +133,7 @@ |
|
| 4 | PmEvent event; |
|
| 5 | int count; |
|
| 6 | if (!active) return; |
|
| 7 | - while (count = Pm_Read(midi_in, &event, 1)) { |
|
| 8 | + while ((count = Pm_Read(midi_in, &event, 1))) { |
|
| 9 | if (count == 1) output(event.message); |
|
| 10 | else printf(Pm_GetErrorText(count)); |
|
| 11 | } |
Loggerhead 1.17 is a web-based interface for Bazaar branches