Fixed setting of custom color for static text in menu

This commit is contained in:
alexey.lysiuk 2016-07-17 15:34:57 +03:00 committed by Christoph Oelckers
parent 446bc1018c
commit 8369833dc5
1 changed files with 1 additions and 1 deletions

View File

@ -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;