Merge branch 'Saturn-Next' into mac-ci-test
This commit is contained in:
commit
8cf3165be0
1 file changed
+2
-2
+2
-2
@@ -5775,13 +5775,12 @@ static void M_DrawMusicTest(void)
|
||||
V_DrawFill(20, y-4, 280-1, 16, 237);
|
||||
|
||||
{
|
||||
|
||||
const musicdef_t *def = S_GetMusicCredit(t);
|
||||
const char *songname = def->title[0] ? def->title : def->source;
|
||||
|
||||
size_t namelength = strlen(songname);
|
||||
|
||||
static const size_t MAXLENGTH = 34;
|
||||
#define MAXLENGTH 34
|
||||
char buf[MAXLENGTH+1];
|
||||
|
||||
if (t == st_sel && namelength > MAXLENGTH)
|
||||
@@ -5795,6 +5794,7 @@ static void M_DrawMusicTest(void)
|
||||
{
|
||||
V_DrawFill(20+280-9, y-4, 8, 16, 230);
|
||||
}
|
||||
#undef MAXLENGTH
|
||||
}
|
||||
|
||||
t++;
|
||||
|
||||
Reference in new issue
Block a user