Skip to content

Commit

Permalink
might as well add small mac-playmidi binary (10.7-compiled)
Browse files Browse the repository at this point in the history
  • Loading branch information
ssb22 committed Feb 15, 2024
1 parent c542873 commit cdcbf76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mac-playmidi.c
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ void stopMusic(int sig) {
int main(int argc,const char*argv[]) {
fputs("playmidi 1.2 - Silas S. Brown 2020,2024 - public domain\n",stderr);
if(argc < 2) helpAndExit();
int offset = 0, deviceNo = 0; // auto
int offset = 0, deviceNo = 0;
if(atoi(argv[1]) || !strcmp(argv[1],"0")) {
offset=1; deviceNo=atoi(argv[1]);
}
Expand Down

0 comments on commit cdcbf76

Please sign in to comment.