Skip to content

Commit

Permalink
Update string comparison
Browse files Browse the repository at this point in the history
  • Loading branch information
ArchLeaders committed Jan 17, 2024
1 parent 8282956 commit 4402124
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/TotkConfig.cs
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ public static string[] GetCompressionLevels()

public static void SetRestblStrings(string version)
{
if (string.IsNullOrEmpty(version) || version.ToLower() == "none") {
if (string.IsNullOrEmpty(version) || version.Equals("none", StringComparison.CurrentCultureIgnoreCase)) {
return;
}

Expand Down

0 comments on commit 4402124

Please sign in to comment.