summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Howard2009-08-29 21:30:26 +0000
committerSimon Howard2009-08-29 21:30:26 +0000
commitf2f36117c889c19b643058a0af33070baf4b48be (patch)
treecfe1e771cf16ff0c359efe0e0704239870e8184e
parenta10180a460f6425cd308719584aa58ab4fcb63fb (diff)
downloadchocolate-doom-f2f36117c889c19b643058a0af33070baf4b48be.tar.gz
chocolate-doom-f2f36117c889c19b643058a0af33070baf4b48be.tar.bz2
chocolate-doom-f2f36117c889c19b643058a0af33070baf4b48be.zip
MIDI_OpenFile -> MIDI_LoadFile.
Subversion-branch: /branches/opl-branch Subversion-revision: 1639
-rw-r--r--src/midifile.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/midifile.c b/src/midifile.c
index 6eb9e7db..61e06463 100644
--- a/src/midifile.c
+++ b/src/midifile.c
@@ -598,7 +598,7 @@ midi_file_t *MIDI_LoadFile(char *filename)
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 @@ int main(int argc, char *argv[])
exit(1);
}
- file = MIDI_OpenFile(argv[1]);
+ file = MIDI_LoadFile(argv[1]);
if (file == NULL)
{