Skip to content

Commit

Permalink
Fix doubleclick on midi port selection page
Browse files Browse the repository at this point in the history
committer: Mrs. Brisby <[email protected]>
  • Loading branch information
Mrs. Brisby committed Sep 29, 2008
1 parent f7a6132 commit cda235f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion schism/page_midi.c
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ static int midi_page_handle_key(struct key_event * k)
} else if (k->mouse) {
if (k->x >= 3 && k->x <= 11 && k->y >= 15 && k->y <= 27) {
if (k->mouse == MOUSE_DBLCLICK) {
if (k->state) return 0;
if (!k->state) return 0;
toggle_port();
return 1;
}
Expand Down

0 comments on commit cda235f

Please sign in to comment.