summaryrefslogtreecommitdiff
path: root/src/music/extmidi.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/music/extmidi.cpp')
-rw-r--r--src/music/extmidi.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/music/extmidi.cpp b/src/music/extmidi.cpp
index 6bfc990e5..919f689e0 100644
--- a/src/music/extmidi.cpp
+++ b/src/music/extmidi.cpp
@@ -45,7 +45,7 @@ const char *MusicDriver_ExtMidi::Start(const char * const * parm)
const char *command = GetDriverParam(parm, "cmd");
if (StrEmpty(command)) command = EXTERNAL_PLAYER;
- this->command = strdup(command);
+ this->command = stredup(command);
this->song[0] = '\0';
this->pid = -1;
return NULL;