Skip to content

Commit 187f926

Browse files
authored
Fix LT-22260: Unnamed slots are given the same name (#441)
1 parent c9aaddd commit 187f926

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Src/LexText/Morphology/InflAffixTemplateControl.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1065,7 +1065,8 @@ private List<int> GetAllUnnamedSlotValues()
10651065
slot.Name.BestAnalysisAlternative.Text == null ||
10661066
slot.Name.BestAnalysisAlternative.Text.StartsWith(m_sUnnamedSlotName))
10671067
{
1068-
string sValue = m_sUnnamedSlotName;
1068+
int len = m_sUnnamedSlotName.Length;
1069+
string sValue = slot.Name.BestAnalysisAlternative.Text.Substring(len);
10691070
int i;
10701071
try
10711072
{

0 commit comments

Comments
 (0)