mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-24 13:11:33 +00:00
Fixed setting of custom color for static text in menu
This commit is contained in:
parent
446bc1018c
commit
8369833dc5
1 changed files with 1 additions and 1 deletions
|
@ -662,7 +662,7 @@ static EColorRange ParseOptionColor(FScanner &sc, FOptionMenuDescriptor *desc)
|
|||
if (sc.CheckString(","))
|
||||
{
|
||||
sc.MustGetString();
|
||||
EColorRange cr = V_FindFontColor(sc.String);
|
||||
cr = V_FindFontColor(sc.String);
|
||||
if (cr == CR_UNTRANSLATED && !sc.Compare("untranslated") && isdigit(sc.String[0]))
|
||||
{
|
||||
if (strtol(sc.String, NULL, 0)) cr = OptionSettings.mFontColorHeader;
|
||||
|
|
Loading…
Reference in a new issue