Skip to content

Commit

Permalink
Minor
Browse files Browse the repository at this point in the history
  • Loading branch information
rampaa committed Dec 22, 2023
1 parent d29d75d commit 50070be
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion JL.Core/Lookup/LookupUtils.cs
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ private static List<LookupResult> SortLookupResults(IEnumerable<LookupResult> lo
{
return 0;
}
else if (roi is "ok" or "ik" or "rk")
if (roi is "ok" or "ik" or "rk")
{
return 2;
}
Expand Down
4 changes: 2 additions & 2 deletions JL.Windows/Utilities/PopupWindowUtils.cs
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ public static string ReadingsToText(string[] readings, string[]?[] rOrthographyI
return sb.ToString();
}

public static string AlternativeSpellingsToText(string[] alternativeSpellings, string[]?[]? aOrthographyInfoList)
public static string AlternativeSpellingsToText(string[] alternativeSpellings, string[]?[] aOrthographyInfoList)
{
StringBuilder sb = new();

Expand All @@ -95,7 +95,7 @@ public static string AlternativeSpellingsToText(string[] alternativeSpellings, s
{
_ = sb.Append(alternativeSpellings[index]);

if (index < aOrthographyInfoList?.Length)
if (index < aOrthographyInfoList.Length)
{
string[]? aOrthographyInfo = aOrthographyInfoList[index];
if (aOrthographyInfo is not null)
Expand Down

0 comments on commit 50070be

Please sign in to comment.