chore: fix warnings

This commit is contained in:
goaaats 2022-04-05 18:27:15 +02:00
parent 9dc8b62989
commit 7bde864221
No known key found for this signature in database
GPG key ID: 49E2AA8C6A76498B

View file

@ -30,6 +30,9 @@ namespace Dalamud.Interface.Internal.Windows
private readonly string[] languages;
private readonly string[] locLanguages;
private readonly string[] fontResolutionLevelStrings;
private int langIndex;
private XivChatType dalamudMessagesChatType;
@ -38,7 +41,6 @@ namespace Dalamud.Interface.Internal.Windows
private bool doCfChatMessage;
private bool doMbCollect;
private readonly string[] fontResolutionLevelStrings;
private int fontResolutionLevel;
private float globalUiScale;
@ -122,7 +124,7 @@ namespace Dalamud.Interface.Internal.Windows
this.doButtonsSystemMenu = configuration.DoButtonsSystemMenu;
this.disableRmtFiltering = configuration.DisableRmtFiltering;
this.fontResolutionLevelStrings = new string[]
this.fontResolutionLevelStrings = new[]
{
Loc.Localize("DalamudSettingsFontResolutionLevel0", "Least (1k x 1k texture)"),
Loc.Localize("DalamudSettingsFontResolutionLevel1", "Lesser (2k x 2k texture)"),