M_DrawSoundTest: If a song has no title, show "Untitled" instead.

This commit is contained in:
toaster 2023-06-13 20:45:22 +01:00
parent d9fd0eda2e
commit 65ab29b469

View file

@ -6112,6 +6112,8 @@ void M_DrawSoundTest(void)
}
titletext = soundtest.current->title;
if (!titletext)
titletext = "Untitled"; // Har har.
V_DrawThinString(x+1, y, V_ALLOWLOWERCASE|V_6WIDTHSPACE, titletext);
if (soundtest.current->numtracks > 1)