mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-26 14:01:45 +00:00
localize "Unknown" option menu string
This commit is contained in:
parent
4422f9079c
commit
46d9564507
1 changed files with 1 additions and 1 deletions
|
@ -304,7 +304,7 @@ class OptionMenuItemOptionBase : OptionMenuItem
|
|||
|
||||
int Selection = GetSelection();
|
||||
String text = StringTable.Localize(OptionValues.GetText(mValues, Selection));
|
||||
if (text.Length() == 0) text = "Unknown";
|
||||
if (text.Length() == 0) text = StringTable.Localize("$TXT_UNKNOWN");
|
||||
drawValue(indent, y, OptionMenuSettings.mFontColorValue, text, isGrayed());
|
||||
return indent;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue