Invert logic in channel mute query

Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
master
Claudio Matsuoka 14 years ago
parent ef1c793e98
commit 84886b341f
  1. 5
      src/commands.c

@ -159,10 +159,11 @@ void read_command(xmp_context handle, struct control *ctl)
case '7':
case '8':
case '9':
xmp_channel_mute(handle, cmd - '1', -1);
/* toggle mute */
xmp_channel_mute(handle, cmd - '1', 2);
break;
case '0':
xmp_channel_mute(handle, 9, -1);
xmp_channel_mute(handle, 9, 2);
break;
case '!': {
int i;

Loading…
Cancel
Save