CheckThousandsGroup: Fix checking heading character before thousand group

This commit is contained in:
Samuel Thibault
2022-04-02 21:13:55 +02:00
parent 6fd31db229
commit fc05678e41
+1 -1
View File
@@ -1724,7 +1724,7 @@ static bool CheckThousandsGroup(char *word, int group_len)
return false;
}
if (IsDigit09(word[group_len]) || IsDigit09(-1))
if (IsDigit09(word[group_len]) || IsDigit09(word[-1]))
return false;
return true;