diff --git a/pd/src/s_midi.c b/pd/src/s_midi.c
index a177a359dea0414a4b47f21fc379d78ce7fee03a..e139e429935337ca47ba62315c86da2094403ec5 100644
--- a/pd/src/s_midi.c
+++ b/pd/src/s_midi.c
@@ -509,9 +509,9 @@ void sys_get_midi_apis(char *buf)
 {
     int n = 0;
     strcpy(buf, "{ ");
-    sprintf(buf + strlen(buf), "{HARDWARE MIDI %d} ", API_DEFAULT); n++;
+    sprintf(buf + strlen(buf), "{HARDWARE-MIDI %d} ", API_DEFAULT); n++;
 #ifdef USEAPI_ALSA
-    sprintf(buf + strlen(buf), "{ALSA MIDI %d} ", API_ALSA); n++;
+    sprintf(buf + strlen(buf), "{ALSA-MIDI %d} ", API_ALSA); n++;
 #endif
     strcat(buf, "}");
         /* then again, if only one API (or none) we don't offer any choice. */