shithub: choc

Download patch

ref: f2f36117c889c19b643058a0af33070baf4b48be
parent: a10180a460f6425cd308719584aa58ab4fcb63fb
author: Simon Howard <[email protected]>
date: Sat Aug 29 17:30:26 EDT 2009

MIDI_OpenFile -> MIDI_LoadFile.

Subversion-branch: /branches/opl-branch
Subversion-revision: 1639

--- a/src/midifile.c
+++ b/src/midifile.c
@@ -598,7 +598,7 @@
 
     if (stream == NULL)
     {
-        fprintf(stderr, "MIDI_OpenFile: Failed to open '%s'\n", filename);
+        fprintf(stderr, "MIDI_LoadFile: Failed to open '%s'\n", filename);
         MIDI_FreeFile(file);
         return NULL;
     }
@@ -714,7 +714,7 @@
         exit(1);
     }
 
-    file = MIDI_OpenFile(argv[1]);
+    file = MIDI_LoadFile(argv[1]);
 
     if (file == NULL)
     {