musicdef important parameter: Guarantee match by touppering the character

This commit is contained in:
toaster 2023-04-03 22:29:23 +01:00
parent dc8a97475f
commit d432cf3837

View file

@ -1979,6 +1979,7 @@ ReadMusicDefFields
}
else if (!stricmp(stoken, "important"))
{
textline[0] = toupper(textline[0]);
def->important = (textline[0] == 'Y' || textline[0] == 'T' || textline[0] == '1');
}
else