Skip to content

Commit

Permalink
Minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
rampaa committed Oct 12, 2024
1 parent 98d190f commit 607f9e5
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions JL.Core/Dicts/JMdict/JmdictRecordBuilder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,11 @@ public static void AddToDictionary(JmdictEntry entry, IDictionary<string, IList<
string key = JapaneseUtils.KatakanaToHiragana(kanjiElement.Keb).GetPooledString();
if (recordDictionary.ContainsKey(key))
{
++index;
if (!kanjiElement.KeInfList.Contains("sK"))
{
++index;
}

continue;
}

Expand Down Expand Up @@ -121,7 +125,11 @@ public static void AddToDictionary(JmdictEntry entry, IDictionary<string, IList<

if (recordDictionary.ContainsKey(key))
{
++index;
if (!readingElement.ReInfList.Contains("sk"))
{
++index;
}

continue;
}

Expand Down

0 comments on commit 607f9e5

Please sign in to comment.