aboutsummaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorVitaly Novichkov <Wohlstand@users.noreply.github.com>2018-05-16 19:31:14 +0200
committerGitHub <noreply@github.com>2018-05-16 19:31:14 +0200
commitaa26e965a62e03050f68cbe8cdc3a7ca2194a0c6 (patch)
tree365841b9e378395ebc0a35edc8c684b64b620a2c /utils
parenta8ec2f990a624136ca3eefa39e3e87e92aea5a2e (diff)
parent9ca088f9c0f6183c350c68400d950879d0366982 (diff)
downloadlibADLMIDI-aa26e965a62e03050f68cbe8cdc3a7ca2194a0c6.tar.gz
libADLMIDI-aa26e965a62e03050f68cbe8cdc3a7ca2194a0c6.tar.bz2
libADLMIDI-aa26e965a62e03050f68cbe8cdc3a7ca2194a0c6.zip
Merge pull request #90 from jpcima/cpp-extras
make the AdlInstrumentTester a P-Impl
Diffstat (limited to 'utils')
-rw-r--r--utils/adlmidi-2/midiplay.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/adlmidi-2/midiplay.cc b/utils/adlmidi-2/midiplay.cc
index b670083..dfdeb5a 100644
--- a/utils/adlmidi-2/midiplay.cc
+++ b/utils/adlmidi-2/midiplay.cc
@@ -1758,7 +1758,7 @@ int main(int argc, char **argv)
if(argc >= 3)
{
- if(is_number(argv[2]))
+ if(is_number(argv[2]) || !strcmp(argv[2], "-1"))
{
int bankno = std::atoi(argv[2]);
if(bankno == -1)