Browse Source

Revert a test change.

Sorry!

Signed-off-by: falkTX <falktx@gmail.com>
tags/v1.9.13
falkTX 7 years ago
parent
commit
53f1a87bdf
Signed by: falkTX <falktx@gmail.com> GPG Key ID: 2D3445A829213837
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      linux/alsa/alsa_rawmidi.c

+ 1
- 1
linux/alsa/alsa_rawmidi.c View File

@@ -467,7 +467,7 @@ int midi_port_open(alsa_rawmidi_t *midi, midi_port_t *port)
if (midi_port_open_jack(midi, port, type, name)) {
int num;
num = port->id.id[3] ? port->id.id[3] : port->id.id[1];
snprintf(name, 20, "%s %d", port->name, num);
snprintf(name, sizeof(name), "%s %d", port->name, num);
if (midi_port_open_jack(midi, port, type, name))
return 2;
}


Loading…
Cancel
Save